Nitlanguage.org
  • Nitdoc
  • gamnit
  • depth
  • shadow
  • LightPointOfViewProgram
  • _vertex_shader_source

private var _vertex_shader_source: Text

gamnit :: LightPointOfViewProgram :: _vertex_shader_source

  • Doc
  • Linearization

Summary

  • Property definitions

  • gamnit::shadow$LightPointOfViewProgram$_vertex_shader_source

Property definitions

gamnit $ LightPointOfViewProgram :: _vertex_shader_source
	redef var vertex_shader_source = """
		// Vertex coordinates
		attribute vec3 coord;

		// Vertex coordinates on textures
		attribute vec2 tex_coord;

		// Output to the fragment shader
		varying vec2 v_coord;

		void main()
		{
			gl_Position = vec4(coord, 1.0);
			v_coord = tex_coord;
		}
		""" @ glsl_vertex_shader
lib/gamnit/depth/shadow.nit:432,2--447,26
Nit tools. Version .