All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Common.MatDefs.Misc.ShowNormals.frag Maven / Gradle / Ivy

The newest version!
varying vec3 normal;

void main(){
   gl_FragColor = vec4((normal * vec3(0.5)) + vec3(0.5), 1.0);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy