Search found 4 matches

by NicolasD
Fri Apr 05, 2019 7:01 pm
Forum: Amplify Shader Editor
Topic: Double Sided - Flip backface normals
Replies: 3
Views: 22238

Re: Double Sided - Flip backface normals

Thank you for you anwser.

However my question wasn't how I can invert the normals of a shader with Cull mode = on, but how I can invert the normals of the backfaces created by a shader with the Cull mode = off while keeping the normals of the frontfaces unchanged.
by NicolasD
Wed Apr 03, 2019 5:51 pm
Forum: Amplify Shader Editor
Topic: Double Sided - Flip backface normals
Replies: 3
Views: 22238

Double Sided - Flip backface normals

Hello,

I'm making a double-sided shader and I want to flip the normals of the backfaces in order to have a correct lighting.
I'm aware of the Switch by face and Face nodes but I can't feed them to the Local Vertex Normal ports (console info : doesn't work properly with Vertex ports).

I'm wondering ...
by NicolasD
Sat Feb 02, 2019 12:00 am
Forum: Amplify Shader Editor
Topic: Forcing Mesh Normal facing upward
Replies: 3
Views: 3015

Re: Forcing Mesh Normal facing upward

Hello,

Thanks a lot ! This setup works perfectly (with normalize check).
by NicolasD
Sat Jan 19, 2019 11:05 am
Forum: Amplify Shader Editor
Topic: Forcing Mesh Normal facing upward
Replies: 3
Views: 3015

Forcing Mesh Normal facing upward

Hi !

I'm working on a grass shader. I want the normals of the mesh always facing upward whatever rotation is applied on the gameObject.

I guess I want to feed the Y world normal into the local vertex normal but it doesn't work. Any ideas on how to achieve this effect ? :?: