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

one.empty3.library1.shader.sample.vertex.glsl Maven / Gradle / Ivy

Go to download

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!
attribute vec3 position; // input vertex position from mesh
attribute vec2 texcoord; // input vertex texture coordinate from mesh
attribute vec3 normal;   // input vertex normal from mesh

varying vec2 tc; // output texture coordinate of vertex
varying vec3 fn; // output fragment normal of vertex

void main(){
  tc = texcoord;
  fn = normal;
  gl_Position = vec4(0.5 * position, 1.0);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy