A new day a new problem
sorry I’ve tryed every idea I come up with, but nothing seams to work
in my game I’ve got 3 main cameras:
SkyCam for better overview in a town or in a maze
ShoulderCam for doing things like digging or planting
1stPersonCam for walking arround
-1stPerson works allways nice.
Skycam only renders 2D UI elements (I’ve checked layer settings, thats not the problem)
ShoulderCams works only when switched to from SkyCam. If I switch from 1stPersonCam to shoulderCam only the 2D elements will be rendered.
Most likely the problem is related to the postEffects of the cams (before I added them, everything worked well) Every Cam has got the SepiaEffect, which is switched on when loading content. SkyCam has vignette too. And 1stPerson has FXAA.
I have absolute no idea what to do Any hint what to try is verry welcome…
Having a quick look, it seems related to the effects on the camera. I’m wondering if it’s due to the same effect being added and removed from different cameras in a specific order that is causing an issue
I’m not too familiar with the post effects here and whether they are camera specific or is there a global queue.
Edit: You may want to change the order of how you enable cameras on/off. ie Disable the cameras false before enabling the new one.
Edit2: Just tried this in a fork, changing the order so that the other cameras are disabled first and then enabling the ‘new’ cameras fixes the issue.