mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-24 06:34:18 +01:00
12 lines
238 B
GLSL
12 lines
238 B
GLSL
precision mediump float;
|
|
|
|
uniform float thickness;
|
|
uniform float penetration;
|
|
|
|
#include <clipping_planes_pars_fragment>
|
|
|
|
void main() {
|
|
#include <clipping_planes_fragment>
|
|
|
|
gl_FragColor = vec4(thickness / penetration, 0.0, 0.0, 1.0);
|
|
} |