CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
13.02k stars 3.51k forks source link

About gammaCorrect.glsl and invertGamma.glsl #12295

Closed newpeople123 closed 1 week ago

newpeople123 commented 2 weeks ago

What happened?

Is the content in Source/Shaders/Huiltin/Functions/gammaCorrect.glsl and Source/Shaders/Huiltin/Functions/invertGamma.glsl reversed? gammaCorrect should be ‘color=pow (color, vec3 (1.0/2.2))’, invertGamma should be ‘color=pow (color, vec3 (2.2))’?

Reproduction steps

1. 2. 3. ...

Sandcastle example

No response

Environment

Browser: CesiumJS Version: Operating System:

ggetz commented 1 week ago

CesiumJS is a big project, so we use GitHub for feature requests and bug tracking exclusively. In the future, please take any questions to the Cesium Forum where there are members of the community and developers from the team who can help.

It looks like your thread with this question was answered. 😄

Thanks!