Created
July 17, 2020 09:18
-
-
Save CedricGuillemet/b0b114f4b8c1d3323122afb15990e82e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main(void) { | |
vec3 rayDir = normalize(vPosition - vEyePosition); | |
gl_FragColor = vec4(rayDir,1.0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment