You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
Fragment built-ins "VIEW" is described as being the vector from camera to fragment, when it is actually the vector from fragment to camera.
Yeah it's definitely a normalized value. I'm pretty sure it's from fragment to camera.
I needed to make a normal point at the camera, so looking at the documentation I assumed I would have to do:
NORMAL = -VIEW;
But that will look like the normal is pointed away from the camera.
NORMAL = VIEW;
Looks like the normal is pointed towards the camera.
Your Godot version:
3.2.3
Issue description:
Fragment built-ins "VIEW" is described as being the vector from camera to fragment, when it is actually the vector from fragment to camera.
URL to the documentation page:
https://docs.godotengine.org/en/stable/tutorials/shading/shading_reference/spatial_shader.html#fragment-built-ins
The text was updated successfully, but these errors were encountered: