Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix(city): correct inverted exposure shader curve
Ilya Eivy78a415191fd2
diff --git a/client/src/components/city/CityEffects.jsx b/client/src/components/city/CityEffects.jsxindex 9b960c556c..a24bc5e75c 100644--- a/client/src/components/city/CityEffects.jsx+++ b/client/src/components/city/CityEffects.jsx@@ -29,9 +29,9 @@ const ExposureShader = {varying vec2 vUv;void main() {vec4 color = texture2D(tDiffuse, vUv);- // Reverse power curve: lifts shadows/midtones, preserves highlights+ // Reverse power curve: lifts shadows/midtones, preserves highlights; higher uExposure -> brighterfloat safeExposure = max(uExposure, 0.001);- color.rgb = 1.0 - pow(max(1.0 - color.rgb, 0.0), vec3(1.0 / safeExposure));+ color.rgb = 1.0 - pow(max(1.0 - color.rgb, 0.0), vec3(safeExposure));gl_FragColor = color;}`,