Amplifying your potential.

Weird lighting when using Cull Off

Node-based Shader Editor
2 posts • Page 1 of 1

Weird lighting when using Cull Off

Postby DuvE » Thu Nov 23, 2017 6:47 pm

Hi, I have a problem with a double-sided (Cull Off) lit shader. Lightning behaves very weirdly, here is a short video:

https://www.youtube.com/watch?v=OJr3Z0alq-I
DuvE
 
Posts: 5
Joined: Thu Nov 23, 2017 6:46 pm

Re: Weird lighting when using Cull Off

Postby Amplify_Borba » Fri Nov 24, 2017 11:30 am

Hey there!

Cull set to off disables culling, producing a double-sided material, however light is still calculated according to the normal of the mesh's face and, as result, it will not render correctly for the back face, which is the expected behavior.

There are a few ways to work out this situation, the simplest one by using our Switch by Face node to provide different inputs for when each face is facing the camera.

Please let us know if you have any further questions, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 131
Joined: Mon Jul 24, 2017 9:50 am


2 posts • Page 1 of 1

Return to Amplify Shader Editor

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron