-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Description
Hello!
I've started on a project using precisely this awesome portal feature.
However, my project is top down, means I'm dealing with an extra camera to keep track of.

This is what I'm looking at, for some reason the portal (In top-down view) seems to be displaying the main camera, instead of the player's camera.
However, from the player's camera pov, it's displaying the other end correctly.
Does anyone know how to fix it?
Cheers!
Edit: I forgot to mention, that I believe It's most likely to do with line 40 in the portal.shader o.screenpos = ComputeScreenPos(o.vertex)
I'm assuming this'll grab the main camera's display. Which I don't want.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels