2 Months Ago
Remove AmbientLightSH from lightbinner, Directional Light doesn't control ambient color anymore, this is a visually breaking change, I'll see to put a better replacement to existing things Set skybox as global cubemap Be able to sample cubemaps from any resolution, use diffuse cubemap as diffuse indirect illumination if no GI in scene [Pick] Implement "GGXCubeMapBlur" filter on CPU, previously it did not work at all in CI since require RenderSystem which isn't ideal since it's the only thing that did so and is completely different from our Cubemapper GGX filter, this makes all filters consistent and much cleaner, remove Convolve Envmap shader I want to start using GGX filtering on skyboxes but this wouldn't work on CI because of that requirement Skyboxes compile wid GGXCubeMapBlur instead of Box filter, adjustments for GGXCubemapBlurHelper Cubemap fog just takes material from current skybox https://files.facepunch.com/sam/1b1511b1/sbox-dev_k6CScBsqcF.mp4 Make CubemapFog material still be configurable, take it straight from the skybox if it's null Separate Ambient Light into it's own component from Directional Light, add upgrader for it Use black cube if texture passed to lightbinner is invalid (eg non-sky material from SceneSkybox ) Fix World.AmbientLight, make flat ambient light lerp between IBL and what we have, make it artist accessible with ambientlight component Delete these skybox vtexes Remove convolve_environment_map.shader from shader ci Don't change flTargetLuminanceOfCubemap, it's bullshit Skybox envmap has lowest priority https://files.facepunch.com/sam/1b1911b1/yipICq2VMI.jpg Swap tools stuff that uses DirectionalLight.SkyColor to either IBL or AmbientLight Better description of obsolecence update shaders with IBL Default ambient color on SceneThumbnails Add padding to buffer Fix IBL not applying to transmissive Use faster Scene.GetAllComponents<SkyBox2D>() for fetching skybox texture on CubemapFog to not iterate over all gameobjects Revert SkyColor to control ambient light on DirectionalLight again, but pipe it to scene's ambient light color Sun prefab now comes with no skycolor ( Takes from IBL )