2025-08-04 20:09:50 -05:00
|
|
|
precision mediump float;
|
|
|
|
|
|
2024-02-27 10:31:49 -06:00
|
|
|
uniform float thickness;
|
|
|
|
|
uniform float penetration;
|
|
|
|
|
|
2024-04-13 10:36:13 -05:00
|
|
|
#include <clipping_planes_pars_fragment>
|
|
|
|
|
|
2024-02-27 10:31:49 -06:00
|
|
|
void main() {
|
2024-04-13 10:36:13 -05:00
|
|
|
#include <clipping_planes_fragment>
|
|
|
|
|
|
2024-02-27 10:31:49 -06:00
|
|
|
gl_FragColor = vec4(thickness / penetration, 0.0, 0.0, 1.0);
|
|
|
|
|
}
|