Jump to content

oTakhi Platform: Object Composition


mfdesigner
 Share

Recommended Posts

Using object composition, we can package complicated post-processing steps for generating global godrays effect into a reusable, self-contained component.  For an external scene wanting to use godrays effect, all it needs do is to provide a scene pointer to itself and setting the sun's world position.

 

Here is a tutorial video detailing this process.

 

 

godrays.jpg

 

This scene depicts the depth map generated for calculating the occlusion effect in the shader.

 

 

https://youtu.be/gloOiGtUhQw

 

 

 

 

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...