Hi everyone, I am working on a project with the recently shared 1.13.1 directional shadows example. I have a simple cube model and a texture applied to it. There is no space between the block models but I can see black space/liens between them Even if I move a block into another so they overlap, the line is still visible where they start overlapping. How do I fix this?
Hmm, I was suspecting problems with float precision and that maybe shadow from sides somehow ‘poke’ to the top or something (might be a wrong guess, I’m beginner when it comes to lights, shadows and rendering)?
But I cannot replicate it, I tried to put 8 cubes in the 3D shadow example and it works correctly.
Could you share the minimal project that have this issue?
Tried using mediump instead of highp but the lines still persist. I am using the shadow receiver material and Defold version is the latest 1.13.1 release.
So, I think they are not related
I can’t check out the example because I’m not using 1.13.1 yet, but I can see that you have pixelated textures even though the material is set to linear filter. Try nearest
The grass texture is actually 64x64, but the PNG file is 256x256 with a lot of transparent space around it. This might be causing the issue.
If I crop it to 64x64, it looks like it fixes it(size is not correct probably because of the UV).