Common.IBLSphH.IBLSphH.vert 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
The newest version!
#import "Common/ShaderLib/GLSLCompat.glsllib"
/**
*- Riccardo Balbo
*/
in vec3 inPosition;
in vec2 inTexCoord;
out vec2 TexCoords;
out vec3 LocalPos;
void main() {
LocalPos = inPosition.xyz;
TexCoords = inTexCoord.xy;
vec2 pos = inPosition.xy * 2.0 - 1.0;
gl_Position = vec4(pos, 0.0, 1.0);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy