torsteingrindvik / bevy-vfx-bag

Apache License 2.0
135 stars 8 forks source link

LUT texture color mapping is wrong #58

Closed torsteingrindvik closed 2 years ago

torsteingrindvik commented 2 years ago

Adding LUTs to breakout (which uses a 2d camera) seems broken. Try to figure out what's going wrong.

torsteingrindvik commented 2 years ago

By using a 3D camera and toggling (using passthrough) the neutral LUT, we can see that colors are changing place. This means the 3D texture is mapped wrong, so it's not specifically a 2D issue.