UNPKG

playcanvas

Version:

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

20 lines (18 loc) 331 B
var envProc_default = ( /* wgsl */ ` #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 };