UNPKG

playcanvas

Version:

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

11 lines (9 loc) 152 B
var alphaTestPS = ` uniform alpha_ref: f32; fn alphaTest(a: f32) { if (a < uniform.alpha_ref) { discard; } } `; export { alphaTestPS as default };