diff options
author | Zach van Rijn <me@zv.io> | 2022-02-03 20:18:13 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:57 -0500 |
commit | cefcb0cac3b9bbfaa9091f2f587abd33c10803e9 (patch) | |
tree | 80763b842b6628197baa3e22fb6577ab4a374cc6 /user/assimp/restore-pbrmaterial-glossy-macro.patch | |
parent | 9a446f062668ab3e8728ccf352f306aeea95ac99 (diff) | |
download | packages-cefcb0cac3b9bbfaa9091f2f587abd33c10803e9.tar.gz packages-cefcb0cac3b9bbfaa9091f2f587abd33c10803e9.tar.bz2 packages-cefcb0cac3b9bbfaa9091f2f587abd33c10803e9.tar.xz packages-cefcb0cac3b9bbfaa9091f2f587abd33c10803e9.zip |
user/assimp: new package.
Diffstat (limited to 'user/assimp/restore-pbrmaterial-glossy-macro.patch')
-rw-r--r-- | user/assimp/restore-pbrmaterial-glossy-macro.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/user/assimp/restore-pbrmaterial-glossy-macro.patch b/user/assimp/restore-pbrmaterial-glossy-macro.patch new file mode 100644 index 000000000..b1e634c3e --- /dev/null +++ b/user/assimp/restore-pbrmaterial-glossy-macro.patch @@ -0,0 +1,12 @@ +diff -ur a/include/assimp/pbrmaterial.h b/include/assimp/pbrmaterial.h +--- a/include/assimp/pbrmaterial.h 2022-02-03 21:09:18.050000000 +0000 ++++ b/include/assimp/pbrmaterial.h 2022-02-03 21:09:44.930000000 +0000 +@@ -61,7 +61,7 @@ + #define AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_METALLIC_FACTOR AI_MATKEY_METALLIC_FACTOR + #define AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_ROUGHNESS_FACTOR AI_MATKEY_ROUGHNESS_FACTOR + +-//#define AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS "$mat.gltf.pbrSpecularGlossiness", 0, 0 ++#define AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS "$mat.gltf.pbrSpecularGlossiness", 0, 0 + #define AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS_GLOSSINESS_FACTOR AI_MATKEY_GLOSSINESS_FACTOR + + // Use AI_MATKEY_SHADING_MODEL == aiShadingMode_Unlit instead |