Jump to content

How to hide light source mesh of godrays


dingoogle
 Share

Recommended Posts

2 hours ago, Luaacro said:

Hey @dingoogle

I'm not sure to understand, but to be sure: you would like to keep only the rays and have the current mesh hidden ?

Hi Luaacro, yes, I want to keep the rays and their animations, without mesh. I've tried to hide the mesh, or move it out of screen, then the rays gone. I'm not familiar with shaders, not sure whether it's possible to do that. 

Link to comment
Share on other sites

Oooooooooooh ! Finally understood!

Unfortunately not possible using the current post-process you are using because it is just based on screen-space

You should use the standard rendering pipeline instead : https://doc.babylonjs.com/how_to/using_standard_rendering_pipeline (look at the "Setting up volumetric lights" section)

Link to comment
Share on other sites

On 6/21/2018 at 1:53 AM, Luaacro said:

Oooooooooooh ! Finally understood!

Unfortunately not possible using the current post-process you are using because it is just based on screen-space

You should use the standard rendering pipeline instead : https://doc.babylonjs.com/how_to/using_standard_rendering_pipeline (look at the "Setting up volumetric lights" section)

Got it. Thanks Luaacro. I'll do more investigation.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...