Hersir Posted November 24, 2017 Share Posted November 24, 2017 Hi, PBRMetallicRoughnessMaterial is extending PBRBaseSimpleMaterial that is extending PBRBaseMaterial. Inside PBRBaseMaterial there is protected property for lightmapTexture but its not exposed inside PBRBaseSimpleMaterial so lightmapTexture can not be used with PBRMetallicRoughnessMaterial. Is that by the design that metallic pbr doesn't have lightmapTexture ? as it is exposed only for PBRMaterial right now. Thanks dzen and alvov 2 Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 24, 2017 Share Posted November 24, 2017 Hello, Yes it is as it is intented to be simpler :-) But I agree It has been asked quite a lot, let me open lightmap on the simpler materials. You ll have it tomorrow. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 24, 2017 Share Posted November 24, 2017 Done: https://github.com/BabylonJS/Babylon.js/commit/059340be82de98f3dd9ebfcd24bbc77700d5ccf7#diff-b537e5ef6c9f5ba529e4817f160b1678R106 Quote Link to comment Share on other sites More sharing options...
Hersir Posted November 27, 2017 Author Share Posted November 27, 2017 @Sebavan Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.