WebGL 2.0 : linear space color supported ?

Hi,

Does linear space color is supported in WebGL 2.0 with Unity ?

(it is surely not with 1.0, but as default version just switched to 2.0 in Unity 5.5, documentation could be lacking an update on this specific subject)

By searching in the web, it is unclear if the WebGL 2.0 norm (out of Unity context) is supporting linear space color. Then, there is the Unity implementation of it, which could come with their own restrictions.

I looked into new feature LookDev, which is nice by the way ! As LookDev forces the color space to linear space color, I don’t now how much my PBR rendering implementation in WebGL 2.0 respects Lookdev fidelity ?

Thanks,

Yvan

Not currently, but they hopefully are working on it for a future release (recently made it into iOS and Android platforms).

Unfortunately, I’ve found it very difficult to replicate PBR within the gamma colorspace. It’s very frustrating as the whole art pipeline is based around this now

Thanks for the answers.

When you say ‘they’, you mean Unity or WebGL guys ?

Unity. Most other webGL applications I’ve come across so far support linear already

Thanks !