HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by Pathogen-David

Comment by Pathogen-David 6 months ago

0 replies

View on Hacker News

You might find value in the glTF sample renderer https://github.com/KhronosGroup/glTF-Sample-Renderer

It won't be plug and play since you'd have to pull out the shaders and make them work in your app, but the implementation supports quite a few material variants. The PBR shader implementation starts in source/Renderer/shaders/pbr.frag