Jump to content

Emission Shader Bugs (Decal Beta)


Recommended Posts

First, Model/Animated/diffuse+normal+specular-emission.shader does not call the emission texture.

 

Starting at line 89 change

fragData2 = vec4(0.0,0.0,0.0,specular);

 

To:

 

vec4 emission = texture(texture4,ex_texcoords0);
fragData2 = vec4(emission.r,emission.g,emission.b,specular);

 

This should fix the emission shader for animated models.

 

Secondly, there is an issue with emission shader for decals ALWAYS drawing on top of the models even though the materials are set to Disabled or Dynamic. Looking into this now.

post-12469-0-32596800-1438120606_thumb.png

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...