Backface shading question
Posted: Sun Jan 07, 2018 6:03 pm
Hi!
Im doing a shader for plants etc.
Now i have a single sided mesh with culling turned off. But then the backside shades the same as the frontside, Being lit although its facing away from the light.
Is there anyway for the backside of the face to shade correctly or do i need to double the geometry and invert the normals? I really hope i dont need to:-(
Thanks!
Im doing a shader for plants etc.
Now i have a single sided mesh with culling turned off. But then the backside shades the same as the frontside, Being lit although its facing away from the light.
Is there anyway for the backside of the face to shade correctly or do i need to double the geometry and invert the normals? I really hope i dont need to:-(
Thanks!