forked from Dynamitos/Seele
Ray tracing works on linux for some reason
This commit is contained in:
1 parent
a398ca65fc
commit
a78377741c
8 files changed
+95
-89
No files matched your search
@@ -382,7 +382,7 @@ void MeshLoader::loadMaterials(const aiScene* scene, const Array<PTextureAsset>&
|
||||
|
||||
brdf.variables["normal"] = "NormalSub";
|
||||
}
|
||||
aiShadingMode mode;
|
||||
aiShadingMode mode = aiShadingMode_CookTorrance;
|
||||
material->Get(AI_MATKEY_SHADING_MODEL, mode);
|
||||
switch (mode) {
|
||||
case aiShadingMode_Phong:
|
||||
|
||||
Reference in new issue
Block a user