Obi Official Forum
Standard (Backfaces) Shader not shading front faces - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Standard (Backfaces) Shader not shading front faces (/thread-244.html)



Standard (Backfaces) Shader not shading front faces - aaronfjerstad - 12-12-2017

I'm working on some clothing that looked weird because back faces weren't rendering, so I used the Standard (Backfaces) shader. As soon as I did, the front faces stopped drawing:

https://imgur.com/a/KJwAD

I'm running the latest stable version of Unity 2017, on Windows 10, using DirectX11, and the skirt model has no thickness.


RE: Standard (Backfaces) Shader not shading front faces - josemendez - 12-12-2017

(12-12-2017, 12:40 AM)aaronfjerstad Wrote: I'm working on some clothing that looked weird because back faces weren't rendering, so I used the Standard (Backfaces) shader. As soon as I did, the front faces stopped drawing:

https://imgur.com/a/KJwAD

I'm running the latest stable version of Unity 2017, on Windows 10, using DirectX11, and the skirt model has no thickness.

This is the expected behaviour. The Standard (Backfaces) shader renders backfaces only. To show both front and back faces, you need to apply both materials -Standard and Standard(backfaces) like it is done in all sample scenes-. This has the added benefit that it allows you to have different textures/material properties for front and back faces.

cheers!