Skip to content

Instantly share code, notes, and snippets.

@Bailey3D
Last active October 19, 2019 20:42
Show Gist options
  • Save Bailey3D/9faef956ecade207a7fed1d4d5020a70 to your computer and use it in GitHub Desktop.
Save Bailey3D/9faef956ecade207a7fed1d4d5020a70 to your computer and use it in GitHub Desktop.
float LightWrapMask = dot(SunVec , (CamVec - VertexNormals));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment