#Having some issues regarding occlusion culling
1 messages · Page 1 of 1 (latest)
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
Should be an Occlusion Culling tickbox on the Camera component, under the Rendering heading
its ticked off already, still happening
I think it's because you're in occlusion culling debug mode
It happens in build too
Showing in editor so I can show all the data and how it's looking like in scene view
Tho why is it showing things behind my stone
I think its checking if a chunk of objects is in the camera render area not what's currently seen
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
Isn't that the whole purpose of occlusion culling? To not render which is not visible?
Yeah sure
as well as render texture setting and occlusion culling setting
Yeah give me a second
Yeah but maybe hiding whats behind the rock doesn't change performance much or worsen it due to the algorithm
Idk much
Since it's a big world it should improve significantly
It drops to 30 fps in editor with current settings if I'm looking at world diagonally
Main Camera
Map Camera
Have you set the rocks as static
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
try setting player camera rendering priority to 0
i dont see anything weird except that
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)
have you tried this too
ok i guess this worked , now to see if its still doing the same thing in map
not yet im trying this next
Then both camera will be on same priority
i think it shouldn't matter much?
If it has the same priority unity always applied culling and render camera with render texture first
From what I understand in unity docs
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?
yeah it shouldnt disappear outside debug mode
Hmm maybe something to do with gaia, I'll ask for help there