Search found 2 matches

by mst1228
Wed Jan 17, 2018 9:58 pm
Forum: Amplify Shader Editor
Topic: World Space Light Pos node confusion
Replies: 2
Views: 2664

Re: World Space Light Pos node confusion

Hey!

I think I've just figured out that World Space Light Pos node only works to pass the actual position if I include the "LightMode" tag and set it to "ForwardAdd" in my shader. I'm getting the result that I'd hoped for now. Although I'm not exactly sure what implications it has on my shader ...
by mst1228
Wed Jan 17, 2018 9:25 pm
Forum: Amplify Shader Editor
Topic: World Space Light Pos node confusion
Replies: 2
Views: 2664

World Space Light Pos node confusion

Hey there! Thanks for the awesome plugin, it's incredibly useful!

I'm working on a shader and trying to calculate the angle between the light direction to the game object and the camera direction to the game object. I'm using the World Position node to get the coordinates of the surface, the World ...