Jump to content
  • Advertisement
Sign in to follow this  
Coluna

Fading out decals - multipass lights

This topic is 4828 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
Advertisement
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!!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!