Skip to content

gl_Vertex and gl_Normal? #258

Answered by pragma37
aVersionOfReality asked this question in Q&A
Discussion options

You must be logged in to vote

I would be wary with those code snippets, gl_Vertex has been deprecated for almost 2 decades.
I even had to google it because I wasn't even sure what it was used for.

From nodes, position and normal can always be read from surface position and surface normal.
If you want to override the vertex shader outputs, use the Vertex Shader Output.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aVersionOfReality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants