|
@@ -10,6 +10,7 @@ precision highp int;
|
|
|
#include common
|
|
|
#include read_from_texture
|
|
|
#include common_frag_params
|
|
|
+#include wboit_params
|
|
|
|
|
|
uniform vec2 uImageTexDim;
|
|
|
uniform sampler2D tImageTex;
|
|
@@ -122,6 +123,9 @@ void main() {
|
|
|
float vMarker = readFromTexture(tMarker, vInstance * float(uGroupCount) + group, uMarkerTexDim).a;
|
|
|
#include apply_marker_color
|
|
|
#include apply_fog
|
|
|
+
|
|
|
+ float absFragDepth = abs(gl_FragCoord.z);
|
|
|
+ #include wboit_write
|
|
|
#endif
|
|
|
}
|
|
|
`;
|