scier / MetalSplatter

Render Gaussian Splats using Metal on Apple platforms (iOS/iPhone/iPad, macOS, and visionOS)
MIT License
239 stars 27 forks source link

Output color in RGB instead of sRGB #1

Closed kemchenj closed 7 months ago

kemchenj commented 7 months ago

The color output from shader is in gamma space, so we need to bring it to linear, to align with the output texture.

Before:

Screenshot 2024-02-05 at 14 09 12

After: Screenshot 2024-02-05 at 14 08 34

scier commented 7 months ago

@kemchenj I'm not sure how you knew it was my birthday today, but I appreciate the gift!