Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualHodgman

Posted 30 January 2013 - 07:33 AM

In that case, theres still some options -
• You can add a z-pre-pass (which is often a good idea in forward renderers anyway) which will give you full scene depth when shading.
• Or, in your forward shading pass, you can output to 2 render targets -- with your highlights going to the 2nd one. Then in a post processing step, you can add the highlights in based on depth (which you now have because forward shading is complete).

(edit) oh, does (closed) mean you can't edit the render pipeline at all?

#1Hodgman

Posted 30 January 2013 - 07:32 AM

In that case, theres still some options -
• You can add a z-pre-pass (which is often a good idea in forward renderers anyway) which will give you full scene depth when shading.
• Or, in your forward shading pass, you can output to 2 render targets -- with your highlights going to the 2nd one. Then in a post processing step, you can add the highlights in based on depth (which you now have because forward shading is complete).

PARTNERS