5 lines
134 B
GLSL
5 lines
134 B
GLSL
#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )
|
|
|
|
gl_FragDepthEXT = log2( vFragDepth ) * logDepthBufFC * 0.5;
|
|
|
|
#endif |