Brewing-Team / Coffee-Engine

A little game engine brewed for learning how to brew a game engine!
https://brewing-team.github.io/Coffee-Engine/
MIT License
2 stars 0 forks source link

PBR-Material and StandardShader Improvements #43

Open HugoPlacer opened 3 weeks ago

HugoPlacer commented 3 weeks ago
HugoPlacer commented 3 weeks ago

It seams that assimp don't expose any material parameter for the PBR Material Pipeline. An alternative to this could be check if the material has the texture and set the needed value for the parameter (for example: for the Metallic if not has the texture metallic is 0 and if has the texture metallic is 1).

HugoPlacer commented 3 weeks ago

I do it and it seems to work :p 5e2475812cad033c4becce85972d4b24fce0d180