UNPKG

playcanvas

Version:

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

15 lines (13 loc) 274 B
var envProcPS = ` #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 { envProcPS as default };