UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

10 lines (7 loc) 156 B
var alphaTestPS = /* glsl */ ` uniform float alpha_ref; void alphaTest(float a) { if (a < alpha_ref) discard; } `; export { alphaTestPS as default };