waverider Posted December 14, 2017 Share Posted December 14, 2017 spotlight completely dims the material of my model, try uncommenting the hemispheric light, the material will show up https://www.babylonjs-playground.com/#11BH6Z#320 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 14, 2017 Share Posted December 14, 2017 Yeah this seems to be a bug in PBR Tracked here: https://github.com/BabylonJS/Babylon.js/issues/3397 Wingnut 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 15, 2017 Share Posted December 15, 2017 Nope actually this is not a bug:) Intensity is different with PBR: http://doc.babylonjs.com/how_to/physically_based_rendering#light-setup Here is the fix: https://www.babylonjs-playground.com/#11BH6Z#322 Other option would be to turn off the physical falloff: https://www.babylonjs-playground.com/#11BH6Z#323 waverider 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted December 15, 2017 Share Posted December 15, 2017 Hey @Deltakosh, maybe you/we can talk about how to avoid this PBR lighting "goose chase" (fake-out)... next time it happens? I think waverider lost some hours on this one, and I would love to insert some kind of warning, somehow, so it doesn't happen again. waverider 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 15, 2017 Share Posted December 15, 2017 This is related to gltf I guess. It may not be obvious that using gltf implies using PBR which in turn requires real world light setup (or options to turn off falloff) I have to admit I don't know how to do better than mentioning it in the doc (which it already the case) Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted December 16, 2017 Share Posted December 16, 2017 *nod*. Thx for info, DK. Waverider, would you mind adding some tags to your post? I think, at least... gltf, pbr, light, whatever else you can think-up. Possibly put 'PBR' before 'material' in the topic title? (edit first post) Perhaps give @Deltakosh permission to add some too, if he wishes? That would be cool. That might help others find this important topic. 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.