playMaker

Author Topic: Render to Cubemap, load cubemap on specific reflection probe?  (Read 865 times)

wetcircuit

  • Full Member
  • ***
  • Posts: 158
    • wetcircuit.com
Render to Cubemap, load cubemap on specific reflection probe?
« on: August 17, 2020, 11:19:58 AM »
Hi, I am looking for advice for a procedurally-generated runtime environment.

My geometry is a narrow mountain pass with reflection probes along the path the player will travel:



However I have a necessary post-processing effect that is not seen by the reflection probes, so I am looking to render cubemaps at runtime (with post-processing), and attach the cubemaps to the reflection probes.

Can I do this with playmaker, and how? (I don't need a step-by-step, but I can't find any PM actions for rendering or creating cubemaps – maybe I'm not sure what it would be called...)

I need a separate cubemap for each probe. My probes are low-res (128), and since I'll know where the player is I can potentially render the cubemaps just ahead of them.

Thank you for any suggestions.

wetcircuit

  • Full Member
  • ***
  • Posts: 158
    • wetcircuit.com
Re: Render to Cubemap, load cubemap on specific reflection probe?
« Reply #1 on: August 17, 2020, 02:12:20 PM »
Ahh ok, I found RenderToCubemap under the camera Call Method.