Common.MatDefs.Misc.ShowNormals.frag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-core Show documentation
Show all versions of jme3-core Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
#import "Common/ShaderLib/GLSLCompat.glsllib"
varying vec3 normal;
void main(){
gl_FragColor = vec4((normal * vec3(0.5)) + vec3(0.5), 1.0);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy