Skip to content

Commit

Permalink
Merge pull request godotengine#56286 from Calinou/changelog-shaders-d…
Browse files Browse the repository at this point in the history
…epth-texture
  • Loading branch information
akien-mga authored Jan 5, 2022
2 parents 4b6d2fd + eb6ba0e commit 8881e5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

#### Shaders

- [`DEPTH_TEXTURE` now uses normalized device coordinates between `0.0` and `1.0` (inclusive) to match Vulkan behavior.](https://docs.godotengine.org/en/latest/tutorials/shaders/advanced_postprocessing.html#depth-texture)
- This requires modifying most shaders that rely on `DEPTH_TEXTURE` to make them still work as expected.
- Previously, coordinates would be between `-1.0` and `1.0` (inclusive) to match OpenGL behavior.
- Renamed the `.shader` file extension to `.gdshader`.
- Existing text-based shader files will have to be renamed before loading the project in a new engine version.

Expand Down

0 comments on commit 8881e5a

Please sign in to comment.