bevyengine / bevyengine/bevy

Color Attribute Doesn't do sRGB Color Correction

Open
#5,547 7 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

0.8

## Relevant system information

```
AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti", vendor: 4318, device: 9346, device_type: DiscreteGpu, backend: Vulkan }
```

## What you did

I used the `Mesh::ATTRIBUTE_COLOR` attribute to try to depict the color purple (`[1.0, 0.0, 1.0, 1.0]`) on a triangle, and it looks like this:
![image](https://user-images.githubusercontent.com/35380458/182269772-ed4ab6db-a83e-46ed-b5aa-0c895dea6bb3.png)

## What went wrong

It's showing a different color than purple, presumably because it's not applying sRGB color correction.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.