Dot3 with colored light?
Blitz3D Forums/Blitz3D Programming/Dot3 with colored light?
| ||
I use Dot3 for my Games, I need colored Lights, but i think i'm not skilled enough, to create it. Many many hours i tested it, but the light was never colored. thx for help. |
| ||
Somebody correct me if I am wrong - afaik dot3 is not a lighting method, but a shading method - it will only subtract brightness from the texture to simulate a detailed surface. So if you light your screne with real lights, it might work the way you want. |
| ||
Oh, Real That is possible, hard work and the answer was so easy. THX, -=Norc=- (warum sieht man dich nicht mehr auf BlitzForum.de) |
| ||
Als das alte Forum veloren ging, mit den kompletten, genialen Code Archiv usw., dachte ich, ich wart mal ab, wie es sich entwickelt. Ich will mich ja nicht alle 3 Tage neu registrieren. :) Mal sehn, vielleicht werd ich wieder Mitglied. |
| ||
JFK, i think your last post was not dedicated to this post ? right ? |
| ||
Use an ambient map. I.e a 8x8 texture the color of the light, then blend this in over the final ops. You can't really use normal blitz lights 'cos you have to use the underlying verts colors to the normal of the light vector. Unless you're using dot3 for something other than bump-mapping, in which case ignore that. |
| ||
Yes, I test it. It's a good idea. I hope the performance is good. @chi3f stadi: riht =) |
| ||
Stadi - it was a sidenote and answer to drdeads question "(warum sieht man dich nicht mehr auf BlitzForum.de)". Yes, his question was off topic, but at least he openend this thread :) |