Skip to content
Snippets Groups Projects
Commit 22980517 authored by Pascal Engeler's avatar Pascal Engeler
Browse files

bugfix

parent 9d6a5e26
Branches main
No related tags found
No related merge requests found
...@@ -89,7 +89,8 @@ If it is a problem, consider either flipping the image, or look into calling `st ...@@ -89,7 +89,8 @@ If it is a problem, consider either flipping the image, or look into calling `st
A colour palette, like that loaded by `WaveHandler::load_palette_` and used to draw the waves in a custom colour scheme, is a 1D texture. A colour palette, like that loaded by `WaveHandler::load_palette_` and used to draw the waves in a custom colour scheme, is a 1D texture.
Most of the conventions for [Damping Textures](#damping-textures) also apply here. The differences are: Most of the conventions for [Damping Textures](#damping-textures) also apply here. The differences are:
- The `.conf` file only contains one integer, the number of texels in the texture - The `.conf` file only contains one integer, the number of texels in the texture
- The `.texture` file still contains four space-denominated floats per texel (RGBA), but there is a newline after each texel - The `.texture` file still contains four space-denominated floats per texel (RGBA), but there is a newline after each texel.
As things stand now, the lowest wave point maps to the first texel, and the highest wave point maps to the last texel. As things stand now, the lowest wave point maps to the first texel, and the highest wave point maps to the last texel.
Similarly to 2D textures, here we upload the data via Similarly to 2D textures, here we upload the data via
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment