#The holy trinity of trickery: Shaders+Stencils+Scriptable Render Pipeline

1 messages · Page 1 of 1 (latest)

jaunty pebble
#

WIP time portal on my adventure game Journey Beyond the Edge of the World

prisma flax
#

love me some stencils

#

Are you rendering both of these areas at once? I was fooling around with them the other day and I noticed that batching became an issue because how much was rendering.

jaunty pebble
# prisma flax love me some stencils

Yeah that can be taxing for sure. In my case the portals always show the same spot in the world but with a few changes. So I'm basically just having to render a couple of additional objects. When stepping through the portal it's just a matter of turning on / off objects and switching some layers. So it's actually the same area.

prisma flax
#

Ah, alright. I was just wondering if there's some specific dynamic culling or any tricks to reduce what pixels are being compared by the buffer because otherwise pretty fun stuff to mess around with