Added the 1 pixel light count. Nothing changed except that now i can change light render to auto instead of importat which i suppose they are related. Flashlight displays correctly.
But the shadow flickering is still there, i’m going to try to upload some kind of screenshot.
EDIT. Here are some screenshots :
There are not always the same, and not always showing. Maybe is rotation of camera related? Flashlight is a child of the camera to do the same rotation.
Yea walls are cubes (scaled up to 5) so i can make a little room. They have the cube mesh filter and nothing else special like a texture that is with a very basic shader:
Are any cubes over lapping ? how thin are the cues? i think it might be z fighting in a weird way.
this is the only replication of the issue i can make and its z fighting.
Woah, i’m literally crying at a corner right now. I can’t get why in the freaking samsung galaxy tab 3 there is this shadow flickering. Do i should give up on it? Been like 3 days trying 1 parameter at a time…
reduce camera clip far (100 is good enough for game like this, lower will be better)
reduce shadow distance in quality setting
uncheck 24 bit buffer and check 32 bit buffer(if it’s unchecked) in build setting.
other than that, the only thing I can think of is to disable realtime shadow casting for the room it self (by baking the lightmap or unchecking receive shadow in the mesh renderer properties)
Tried near clip : 0.01 , 0.1, 0.4, 0.5, 1 and 5…
Tried far clip: 100, 50, 30, 10…
The shadow distance doesn’t help aswell tried 28 - 20 (and getting lower makes no sense at all for the game) and the 32 bit buffer is checked.
Well i discovered something, changing from spot light to point light solved the flickering without changing any other param. Isn’t this strange?
EDIT: I can confirm this is somehow caused by something not related with shadows. Cause i put them all off and i still get the flickering in the flashlight area.
Spot light is more complex than point and directional lights to compute, it has a modified fragment shader. It is pretty bizarre that it is only occurring on the tab 3 though unity would have to look into it but the tablet is a little bit dated now so its hardly worth it for them.