Jump to content

[SOLVED] normal map for leafs does not work


photo

Recommended Posts

Posted

When I use normal map for mesh_leaf_base shader, there is no bump effect. Normal map is indeed OK, I verified on mesh_base shader, it works well there. For very small leafs normal map indeed does not make much sense, but for big leafs it does.

Posted

By default, yes, it is not rendered for the performance reasons. For this option to work, you need to change Materials -> States -> Passes -> Light world from Deafult to Phong.

post-13-0-55983500-1355410705_thumb.jpg

Posted

By default, yes, it is not rendered for the performance reasons. For this option to work, you need to change Materials -> States -> Passes -> Light world from Deafult to Phong.

 

Great, thanks!

Posted

Just FYI, our CTO has refactored shaders for leaves, so in the next SDK a normal map will be available after enabling States -> Phong shading option. A normal map will be also rendered in the deferred light mode as well.

×
×
  • Create New...