#Having some issues regarding occlusion culling

1 messages · Page 1 of 1 (latest)

lime hinge
#

I have 2 cameras in my scene, 1 for my player and 1 for map camera

The map camera is outputting the world to a texture but it's being affected by the occlusion culling so it's not rendering entire map, I don't want map camera to be affected by occlusion culling how do I do that?

#

And there is another issue as well, which is camera rendering objects that are clearly behind another object

#

Sending video of both issues in a moment

amber halo
lime hinge
lime hinge
round karma
# lime hinge

I think it's because you're in occlusion culling debug mode

lime hinge
#

Showing in editor so I can show all the data and how it's looking like in scene view

round karma
#

interesting...

#

i tried to replicate the error but can't

lime hinge
#

Tho why is it showing things behind my stone

round karma
#

so anything behind the object can still be rendered if its chunk is within that area

#

Can you screenshot the player camera and map camera setting

lime hinge
#

Yeah sure

round karma
#

as well as render texture setting and occlusion culling setting

lime hinge
#

Yeah give me a second

round karma
#

Idk much

lime hinge
#

It drops to 30 fps in editor with current settings if I'm looking at world diagonally

#

Main Camera

#

Map Camera

round karma
#

it should turn them into occluders should hide objects behind the rock

#

only chunks being hidden behind an occluder (static object) will hide i thine

round karma
#

i dont see anything weird except that

lime hinge
# round karma Have you set the rocks as static

Rocks are not set to static but their occluder Static and ocludee static flags are turned on (although weirdly enough terrain was not set to static so I'm re-baking the scene to see if that will fix it)

round karma
lime hinge
lime hinge
lime hinge
round karma
#

If it has the same priority unity always applied culling and render camera with render texture first

#

From what I understand in unity docs

lime hinge
# lime hinge

I guess it's not occlusion culling issue cuz this is happening inside scene , occlusion culling works fine in debug mode

#

The terrains not showing shouldn't happen inside scene right?

round karma
lime hinge