TheCherno / Sparky

Cross-Platform High Performance 2D/3D game engine for people like me who like to write code.
Apache License 2.0
1.09k stars 222 forks source link

Metallic and Roughness workflow #110

Open PlasmaDev5 opened 8 years ago

PlasmaDev5 commented 8 years ago

Many other renderers that use PBR look to work on a Metallic and Roughness workflow, i feel adding this to Sparky could be useful for people coming from these engines along with many assets being made for Metallic and Roughness workflows.

P.S im happy to look into implementing.

TheCherno commented 8 years ago

Yes, supporting metalness (instead of specular) would be nice from a compatibility point of view. It will need a slightly different shader though, so feel free to look into that if you like.

PlasmaDev5 commented 8 years ago

i ran into issues converting the metallic and albedo into the specular within the shader.