Question by
devravenio · Jul 24, 2017 at 07:58 AM ·
camerafogdepthculling maskframerate drops
multiple camera drop fps !!
i just add another camera for ui. and all ui has "UI" layers.
main camera clear flag : skybox, culling mask : all except UI, depth : -1
ui camera clear flag : depth only, culling mask : UI, depth : 10
fps 60 is without ui camera on iOS mobile device. and fps 50 is with ui camera.
what am i doing wrong? i can't understand this situation
any help?
Comment
Best Answer
Answer by devravenio · Jul 24, 2017 at 08:56 AM
i have found the solution.
Global Fog.cs (statndard Assets/Effects/ImageEffects/Scripts/GlobalFog.cs) has been attached on main camera. this cause frame drop. so i replace this with fog ( other settings in lighting inspector ).
no fps drop.
GlobalFog.cs is not optimized on mobile device or not for mobile.