one.empty3.library.shader.sample.fragment.glsl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of empty3-library-3d Show documentation
Show all versions of empty3-library-3d Show documentation
3D rendering engine. Plus modelling. Expected glsl textures 3d and 2d rendering3D primitives, and a lot of scenes' samples to test.+ Game Jogl reworked, Calculator (numbers and vectors). Java code parser implementation starts (<=1.2)
The newest version!
precision mediump float;
varying vec2 tc; // texture coordinate of pixel (interpolated)
varying vec3 fn; // fragment normal of pixel (interpolated)
void main() {
gl_FragColor = vec4(tc.x, tc.y, 0.0, 1.0);
}