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

private var _fragment_shader_source: Text

gamnit :: LightPointOfViewProgram :: _fragment_shader_source

  • Doc
  • Linearization

Summary

  • Property definitions

  • gamnit::shadow$LightPointOfViewProgram$_fragment_shader_source

Property definitions

gamnit $ LightPointOfViewProgram :: _fragment_shader_source
	redef var fragment_shader_source = """
		precision mediump float;

		// Virtual screen texture / color attachment
		uniform sampler2D texture0;

		// Input from the vertex shader
		varying vec2 v_coord;

		void main()
		{
			gl_FragColor = texture2D(texture0, v_coord);
		}
		""" @ glsl_fragment_shader
lib/gamnit/depth/shadow.nit:449,2--462,28
Nit tools. Version .