UNPKG

playcanvas

Version:

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

16 lines (15 loc) 286 B
var envProc_default = ` #ifdef LIT_SKYBOX_INTENSITY uniform skyboxIntensity : f32; #endif fn processEnvironment(color : vec3f) -> vec3f { #ifdef LIT_SKYBOX_INTENSITY return color * uniform.skyboxIntensity; #else return color; #endif } `; export { envProc_default as default };