pex-gl / pex-shaders

MIT License
4 stars 0 forks source link

Add support for baseColorMapEncoding #22

Open vorg opened 3 months ago

vorg commented 3 months ago

Right now we assume uBaseColorMap is SRGB which doesn't allow using HDR textures as input (or linear renderes from e.g. nother scene using RenderEngine). All info is already in texture.encoding, just need to be passed to shader.