Age | Commit message (Collapse) | Author |
|
Tweak application of ambient in deferred soften light for class1/2
|
|
Fix handling of ambient (was getting reset to 1,1,1,1 unintentionally).
Modify shaders to balance ambient across render modes again.
|
|
Modify ambient handling and forward projector lighting again to stamp out alpha fires.
|
|
Modify forward projector lighting to use falloff like the deferred lights.
Make tex cache not evaluate evictions for size during validation passes.
|
|
light contributions
(engages AMBIENT_KILL, SUNLIGHT_KILL, and LOCAL_LIGHT_KILL defines in shaders to accomplish
those tasks as required by each render mode).
|
|
Fix linear attenuation on forward projector lighting.
Revert setup of falloff to prev code.
Revert deferred water spec and tweak refl/refr blend.
|
|
Fix ambient light inputs to the renderer.
Fix 3rd sky shader w/ mistaken density mod conversion.
Make ambient clamp apply to all modes.
Tune ALM ambient clamp to match non-ALM.
|
|
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.
|
|
Modify new spec response to better match old gloss response curve.
Tuned at 255, 192, 160, 128, 64, and 32 glossiness.
|
|
Reduce spec bloom further.
|
|
Modify calc of sunlight to avoid clipping in gamma correct on values outside 0-1 range.
Modify shaders to put back ambient clamp tuned to be close to ambient contrib in low/mid lighting.
|
|
|
|
Fix diffuse boost in deferred lighting to match non-deferred.
Make class2 soften not clamp shadow color to incoming alpha (make shadows appear on terrain underwater).
|
|
Remove ambient term clamping to get less dark shadows where we want less dark shadows in ALM.
|
|
Tamp down bloom so we don't have to redo ten thousand gloss maps.
|
|
Fix sun/moon glow factor bustage.
Make darkness an option.
Fix moon fade shader logic getting confused when sun was below horizon.
|
|
Fix direct light matching across alpha/blended-material/deferred.
Get diffuse lighting to match from Low to Ultra.
|
|
Remove ambient clamp to keep shadows dark.
Partial fix for class 3 ambient term being wrong.
|
|
the lighting pipe.
|
|
Consistency across class2/3/ALM lighting.
|
|
about it).
Make a distinct class3/lighting/lightV which boosts to WL levels (* 2.0)
and make lighting without WL atmo enabled use class 2 or below.
Make forward shaders (alpha and materialF with alpha-blend mode on) more consistent with deferred lighting.
|
|
Bias shadow sampling and allow control of how dark shadows are (clamped ambient).
|
|
Fix flicker even in no shadow ALM from pow on final_da.
Shadow acne at Midday still present.
|
|
All paths now use the same atmospheric transport calcs.
|
|
Scale down of bloom was off by a factor of 3 or so.
|
|
Fix up shadow sampling and tweak shadow biasing.
Clean up shader decls of unused funcs.
Clean up whitespace diffs from release.
|
|
--HG--
branch : OPEN-340
|
|
--HG--
branch : OPEN-340
|
|
Given that mShaderObjects only ever expects one copy of a given shader object (leading to lots of "shaderV" and "shaderF"), it made having utility shaders a bit more difficult to incorporate.
This change makes sure the two are separated. Using this over a multimap largely for readibility.
Also, actually, you know, use this functionality.
--HG--
branch : OPEN-340
|
|
forward rendering.
Add decls for intermediate lighting values for debug.
|
|
Fix directionality of da and preserve bumps on completely shadowed areas.
|
|
--HG--
branch : BUG-226620
|
|
Fixes BUG-226620
--HG--
branch : BUG-226620
|
|
Fix trying to bind diffuse maps for shader without uniform in shadow shaders.
Clean up merge fail around mShaderLevel namechange.
|
|
|
|
This is more or less to achieve the non-ALM bloom behavior in most circumstances.
Why scale it? Normalized blinn-phong gets brighter the higher the specular exponent. As it stood, the old spec contribution was extremely bright despite looking "correct". This is largely eyeballed, but generally looks better for all light sources applied to the surface of the water.
|
|
The atomospherics were being applied both in the G-buffer and during the sun light pass. This ensures that is not the case.
Additionally, re-enable specular on the water plane, scale the bloom factor to something more reasonable, and also someone broke specular on emissive surfaces. That's fixed too now.
|
|
|
|
Fix reflection/distortion map culling planes again.
Fix broken handling of shadow disables in ALM forward shaders.
|
|
Tie using deferred rendering in water reflection/distortion map generation to debug var again
(claw back some performance lost to doing post-deferred in water map generation).
Edit softenLightF for class1/class2 to make them comparable again.
|
|
Further tweaking of directional shadow sampling to balance between peter-panning and shadow acne.
Move stars to just this side of the sky some to reduce parallax.
Remove decodeNormF and uses of decode_normal in favor of unified use of getNorm
(try to help the Intel HD x000 compiler learn to link correctly).
|
|
blocks in several shaders).
|
|
De-duplicate ambient occlusion shader code and move to new aoUtil.glsl
Split shared shadow tap funcs into shadowUtil.glsl
|
|
|
|
Modify handling of directional light to prefer sun when it is up but use moon dir/color when it is alone in the sky.
Modify handling of shader in shaders to get some shadowing of ambient and nighttime shadowing.
|
|
lighting pipe.
|
|
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.
|
|
|
|
Eliminate 20+ callsites with copy-paste of getPosition and/or getNorm code.
Make pipeline use getShadowTarget/releaseShadowTarget consistently.
|
|
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.
|