logDepthFragment.fx 109 B

123
  1. #ifdef LOGARITHMICDEPTH
  2. gl_FragDepthEXT = log2(vFragmentDepth) * logarithmicDepthConstant * 0.5;
  3. #endif