UNPKG

playcanvas

Version:

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

12 lines (9 loc) 176 B
var alphaTestPS = /* wgsl */ ` uniform alpha_ref: f32; fn alphaTest(a: f32) { if (a < uniform.alpha_ref) { discard; } } `; export { alphaTestPS as default };