Marcin Ignac
Marcin Ignac
Now that we have `renderer.loadScene` we still need to use pex-context for loading textures like jpg/png and hdr. Would it be good to have `renderer.loadTexture(url)` helper?
Currently only entities and Orbiter have it implemented.
As per glTF spec: https://github.com/KhronosGroup/glTF/blob/main/specification/2.0/Specification.adoc#alpha-coverage
It's because of pipeline catching https://github.com/pex-gl/pex-nodes/issues/108
Compare with gltf as I think we have gamma colors and gltf has linear https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#metallic-roughness-material
There seem to be three in place...
Building shader preprocessor flags from scratch every frame just in case come light changed or material property is wasteful takes a lot of time in getMaterialProgram https://github.com/pex-gl/pex-renderer/blob/master/index.js#L152. It could be...