Wingnut Posted March 25, 2016 Share Posted March 25, 2016 Hi gang! I found an older CSG/Godrays demo that once worked, but now doesn't. http://playground.babylonjs.com/#UUXLX#9 It looks like something is wrong with the godrays texture (the base64 image on the plane inside the rotating cylinder). I was going to combine this scene... with a skull loader, to see if I could help @ancientholiday with a "CSG on imported mesh" challenge. Advice welcome! Thanks! (Hey Ancient... if you read this, be sure your skull is set updatable=true.) Ok, bye. Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted March 25, 2016 Share Posted March 25, 2016 Ouch ! Due to a recent update, the customized meshes (not created with the VLS itself) should be rendered with an emissive color, or you should intensify the effect. Here, I added the emissive color : http://playground.babylonjs.com/#UUXLX#11 Or you can intensify the effect : http://playground.babylonjs.com/#UUXLX#12 With the recent update, the VLS rays are more respectful to the materials of the emissive mesh Sorry for this inconvenience adam and V!nc3r 2 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted March 25, 2016 Author Share Posted March 25, 2016 Very nice! Thanks for the update! I like the idea of godrays being "more respectful" of the material's properties. That gives us more control of the VLS. Good, good, good! Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted March 25, 2016 Share Posted March 25, 2016 The risk is to unfortunately find some breaking changes (not too much, no code broken, only results) In the new update, the rays can respect all the materials, including materials created by users (not necessary the standard material) Quote Link to comment Share on other sites More sharing options...
Wingnut Posted April 5, 2016 Author Share Posted April 5, 2016 Want to try another one, @Luaacro? http://playground.babylonjs.com/#2L5DBX I believe that, once upon a time, these particles produced godrays (emitting from each particle). Maybe your excellent eyes can spot what I need to update. Any help (by anyone) would be appreciated. Sorry for the messy playground. The rad1 radiator is created near the top, and the particleSystem and godrays... near the bottom. Sorry Luaacro... I have SOME comments in PM, and some in public forum. I'm just all over the place, today. julien-moreau and NasimiAsl 2 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted September 17, 2016 Author Share Posted September 17, 2016 Bumpity bump. The CSG issue with God-Rays, has been solved... thanks Luaacro. But... I'm still looking for heavy-assistance in getting Volumetric Light Scattering (VLS/godrays) to work with particle textures. Perhaps we could check sprite textures, too. To remind, the playground spoken-of in the previous post... once had god-rays radiating from each particle. I would love for that feature to return. Any ideas/assistance would be highly appreciated. update: VLS/godrays on particles is no longer supported. 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.