Sha256: 3def2fd3af423734cf7c06be609242f9a82e3f2f874b09619a8884709f4ebbd2

Contents?: true

Size: 247 Bytes

Versions: 21

Compression:

Stored size: 247 Bytes

Contents

#ifdef USE_LOGDEPTHBUF

	gl_Position.z = log2(max( EPSILON, gl_Position.w + 1.0 )) * logDepthBufFC;

	#ifdef USE_LOGDEPTHBUF_EXT

		vFragDepth = 1.0 + gl_Position.w;

#else

		gl_Position.z = (gl_Position.z - 1.0) * gl_Position.w;

	#endif

#endif

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
mittsu-opengl-0.5.1 lib/mittsu/opengl/shader/chunks/logdepthbuf_vertex.glsl
mittsu-0.4.1 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-opengl-0.5.0 lib/mittsu/opengl/shader/chunks/logdepthbuf_vertex.glsl
mittsu-0.4.0 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.3.3 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.3.2 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.3.1 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.3.0 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.2.4 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.2.3 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.2.2 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.2.1 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.2.0 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.1.7 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.1.6 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.1.5 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.1.4 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.1.3 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.1.2 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl
mittsu-0.1.1 lib/mittsu/renderers/shaders/shader_chunk/logdepthbuf_vertex.glsl