Hey all,
Does anyone know if it is possible and how to reverse the vertex normals on a vertex shader level in ShaderFX for Maya?
What I'm after is equivalent to disabling the "double sided" and enabling "opposite" on the shape node of a polygon object.
But I can't find anything regarding vertex normals in the Vertex Shader Grp prefab group.
Thanks.
Replies
Currently this is handled in the pixel shader where we have the culling information to know if a face is facing front or back.
Don't think we have that info available in the vertex shader.
So what I'm after is currently not doable in ShaderFX I guess then?