This is what chaos looks like before handling the traffic
I fixed the issues in the editor and removed the ortho<->perspective coordinate translations, itās now purely perspective. Itās stable enough to finally start working on traffic handling.
Meanwhile, @piro is having a hard time designing the scene because the editor becomes quite unresponsive(I know it is a known issue). As more people start using 3D with Defold, the editorās model handling performance is becoming a real issue, even with the low-poly models weāre using.
Definitely the strength for screenshots 2 and 3 are too high, but I wanted to use in all the same settings, just compare methods. Itās screen space and the blur messes with shadows.
Yeah, looks like, but maybe itās because Y is second? Itās a very dumb implementation. When I make it in the other order the smudging is more visible horizontally:
Are you implementing the separate passes with the same material/shader, and using a uniform to set the blur direction? Iāve tried the same, and I think there may be an engine bug where the second draw call overwrites the first. I havenāt had a chance to make an isolated test case and file a GitHub issue though.
@Mathias_Westerdahl@Pawel Iāve filed this issue, which I believe is causing the problem observed in the 2-pass blur. Iāve linked to a repro, and have been working around this issue for some time now in my own 2-pass shaders.
Hereās my progress, added sky box, played today with city building. A little trick to make medieval scenes more interesting - put off-grid and rotate everything a little bit!
I believe there werenāt any strict city planning rules back then
Mostly a brute force solution, but I guess it is enough for a project like this. There are a few small things to fix, like rotation based on speed, and then Iām done with it.
Eventually, accidents will happen and traffic will jam
I donāt know why the cars are jittering in the video. They look very smooth while running. I couldnāt figure it out.
Kind of starting to look like something. I found a terrible issue with the new DoF and I do not know how to fix it yet. I guess I have to take a look at it for a few days. But it looks good I guess
I have no idea why the video is jittering. I tried to record at 60 and 75 with many different settings but no luck
The newest 1.12.0 beta introduces an improved scene view rendering performance in Editor when models are in it - so, itās a great opportunity to check out your scenes with it and tell us, if it is better in your cases