ureishi / QvPen

VRChat World Pen.
64 stars 12 forks source link

Fix for PC Line Renderer shader returns color in wrong Color Space #16

Closed RTAzis closed 9 months ago

RTAzis commented 1 year ago

The Line Renderer/Gradient(?) returns a color property always in Gamma space, but Linear space is recommended and mostly used in VRChat, so it should be converted if Linear space is configured in the project settings. Otherwise the colors are faded and not as bright as they should be and as configured by the user.

An example of the issue with #8441A1 color:

QVPen Color Gradient settings: image

Without fix #BE8AD0: image

With fix #8441A1: image

RTAzis commented 11 months ago

@ureishi このプルリクエストを確認するために時間をかけてください。