Common.MatDefs.Misc.Sky.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"
#import "Common/ShaderLib/Optics.glsllib"
uniform ENVMAP m_Texture;
varying vec3 direction;
void main() {
vec3 dir = normalize(direction);
gl_FragColor = Optics_GetEnvColor(m_Texture, dir);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy