Fading out decals - multipass lights

Started by
2 comments, last by Coluna 18 years, 8 months ago
Hello there; Im implementing decals im my engine, and for simple decals that do not receive light, only fade with time, its ok (i draw then AFTER light pass)...so i tried to mix the decals with geometry, to apply normal maps on it, but due to fading-out, i couldnt set it in the right way. Whats the right sequence to do that? Should i break the light in 2 stages- solid meshes and transparent (like decals) meshes?sorry if i wasnt clear enough....thanks!
Advertisement
glColor4f(1,1,1,Alpha)... ?
"Game Maker For Life, probably never professional thou." =)
Maybe you should try Simmer D's method.
The problem is to fade-out the "meshes"...as u can define a max number of decals, to avoid popping im giving them a life time, extinguishing them after time...i cannot set the alpha value, because in the lighting pass it does not affect the final value...im thinking about use a blend mode that can fake this, but i cannot find it yet...if anybody knows it, please tell me!!

This topic is closed to new replies.

Advertisement