gboisse / gfx

A minimalist and easy to use graphics API.
MIT License
498 stars 35 forks source link

Add additional material properties. #48

Closed maoliver-amd closed 2 years ago

maoliver-amd commented 2 years ago

Adds support for:

All added material variables correspond to the GLTF specifications and as such not everything can be mapped from an imported obj (which only has ior and specular added). I didnt add iridescence support due to its complexity and skipped the ability to define a second normal map just for the clearcoat (not something blender supports anyway)

gboisse commented 2 years ago

Nice additions, thanks! 🙂