@@ -65,7 +65,7 @@ function getEvaluateDpoitRenderable(ctx: WebGLContext, dpoitFrontColorTexture: T
}
export class DpoitPass {
- private readonly DEPTH_CLEAR_VALUE = -99999.0;
+ private readonly DEPTH_CLEAR_VALUE = -99999.0; // NOTE same constant is set in shaders
private readonly MAX_DEPTH = 1.0;
private readonly MIN_DEPTH = 0.0;
@@ -40,7 +40,7 @@ uniform int uMarkingType;
#endif
#if defined(dRenderVariant_colorDpoit)
- #define MAX_DPOIT_DEPTH 99999.0
+ #define MAX_DPOIT_DEPTH 99999.0 // NOTE constant also set in TypeScript
uniform sampler2D tDpoitDepth;
uniform sampler2D tDpoitFrontColor;