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:
Accessing World Space based Vertex/Pixel Positions should "just work" (for example, by using a pre-defined keyword like POSITION_WP or similar).
Also a problem: There are many posts on the internet which ask for this and there are many workarounds which don't work anymore in 4.x. For this case, it would be nice if the documentation would give a full example (vertex + fragment shader). In the URL below you'll find an example for the vertex shader but it would be nice to add the fragment shader for example:
Your Godot version:
4.1.1
Issue description:
Accessing World Space based Vertex/Pixel Positions should "just work" (for example, by using a pre-defined keyword like
POSITION_WP
or similar).Also a problem: There are many posts on the internet which ask for this and there are many workarounds which don't work anymore in 4.x. For this case, it would be nice if the documentation would give a full example (vertex + fragment shader). In the URL below you'll find an example for the vertex shader but it would be nice to add the fragment shader for example:
URL to the documentation page (if already existing):
https://docs.godotengine.org/en/latest/tutorials/shaders/shader_reference/canvas_item_shader.html
The text was updated successfully, but these errors were encountered: