Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
make underWaterF and softenLightF apply water fog in linear space.
|
|
and below water
|
|
busted). WIP on reflection probe/PBR driven water shader.
|
|
|
|
|
|
injection by extending shader loading to make use of addConstant() instead of hard-coding magic number constants in each GLSL file.
|
|
|
|
|
|
|
|
|
|
Reduce effect of refScale again to eliminate sampling beyond the correct area in the distortion map and getting the water fog color on the shoreline.
|
|
Make class1/environment and class1/deferred water match.
|
|
Fix emissives without normal maps clobbering the alpha output in materialF.
Modify glow size calc to get close to pre-EEP sun glow behavior (may require sky vert settings >= mid).
Make bake ignore alpha readback for Intel until we can determine why their drivers now go boom.
|
|
Fixed downscaling of the refscale passed in from WL in the water shader.
|
|
Make ALM use of non-ALM water rendering for refraction map light differently than non-ALM use of same.
|
|
Make underwater terrain shader mult vert lighting.
|
|
Fix culling on Low+ water reflection pass.
Make Mid+ / High use class1 deferred sky again (no rainbows, but faster!).
Fix setting of cloud color for deferred sky/cloud shaders.
Put water reflections back in wrong colorspace for consistency with release.
|
|
Tamp down more view-dependent refraction map fail.
|
|
Make terrain underwater shader not try to light said terrain.
Fix colorspace of reflected color in non-ALM shading.
Tweak transparency of water further.
|
|
Fix blend between reflected/refracted water maps (make less transparent)
and fix setting of water fog color alpha on low end to better match
prev behavior of setting the internal control value in that case.
|
|
Consistency across class2/3/ALM lighting.
|
|
|
|
can be differentiated in nSight while debugging.
|
|
Fix distortion map rendering in deferred mode not including underwater fog effects.
Fix distortion map rendering not including post-deferred content at all.
Fix distortion map rendering not including anything but sky when camera is underwater.
Update sun_up_factor/sunmoon_glow_factor uniforms even when sun disc isn't in use.
|
|
Timmy).
|
|
|
|
Use a new edge water shader to allow forcing frag depth to avoid z-fighting at back edge of water edge pieces.
This will not work for ALM because forcing the depth breaks the use of the depth to backproject gbuffer position which breaks lighting calcs.
|
|
Prepare for using ifdef to conditionally engage using gl_FragDepth in water shaders
(because GL requires that writing to gl_FragDepth on any path means you need to
write a depth value on every path).
|
|
Force frag depth in water shaders to avoid z-fighting at back edge of water edge pieces.
|
|
|
|
Fix class 1 and 2 transport/gamma funcs and made usage consistent across all shaders.
Fix class1\environment\waterV reverting to old d1/d2 names for wave directions.
|
|
lighting shaders.
Also fix terrain response to atmospherics shaders (was failing to apply ambient on low end even when atmospherics was on).
|
|
Make shaders use consistent naming and parameter order for transport and atmospheric helpers.
Share transport and gamma correction code where possible.
Add lots of asserts and other validation for when things don't go as planned.
Engage dumpShaderSource to get more source output with shader compilation fail.
|
|
Give wave direction uniforms more meaningful names in shaders.
Add comments on glow size/focus conversions for clarity.
|
|
Prepend dir names to comments in water shaders to differentiate them in nSight captures.
Fix calc of reflection camera modelview mats to properly reflect the environment.
|
|
for current to next blending.
Modify LLSettingsFoo::buildDefaultFoo to use a static and avoid re-validation of default sky/water/daycycle settings.
Remove all references to gSun/MoonTextureId globals (they should come from sky settings now).
|
|
Make env panel update environment when jumping frame to frame.
Add separate funcs for sun/moon vectors in various coord systems.
Make haze glow only pay attention to sun (i.e. fix sun glow when moon is near horizon in daytime).
|
|
Add plumbing facilities to allow current and next moon textures to be passed to moon shader.
Modify moon shader to blend between current and next moon textures by blend factor.
|
|
|
|
format.
|
|
and unify on using the version that works on OSX.
Add more logging to shader loading about fallbacks and loading succcess.
Add frag shaders for sharing sRGB and normal encode/decode via GL shader linkage.
|
|
as necessary.
|
|
|
|
material instead of mMaterial
|
|
|
|
|