Hi !
I updated NGUI to latest version and I'm surprised to see my geometry now is backward.
Looking at git logs, I see commit 4bed6d8 (5th November 2016) does this on purpose.
I may be wrong but I think its wrong, and I'll try to demonstrate here...
You'll find attached a simple project which displays :
- Sprites facing camera on left column
- Sprites not facing the camera on right column (which, when you press start, rotates).
- Top line uses a shader with CullMode Back, so should only be visible on faces facing the camera (left column)
- Middle uses a shader with CullMode Off, so should be visible on all faces (both columns)
- Bottom uses a shader with CullMode Front, so should only be visible on faces not facing the camera (right column)
Using revisions before 4bed6d8, that's what happens.
Starting from that commit behaviour is inverted as expected by the code, but IMHO it's wrong.