News for hackers. Stuff that matters.
Re:Cities Skylines 2 runs with 20fps on an Nvidia RTX4090 by epolanski on Thursday October 26, 2023 @06:02PM (#38032285)
Depth of field is often more nuanced than simply postprocessing filtering, it generally also swaps textures and models based on distance from camera.
Re:Cities Skylines 2 runs with 20fps on an Nvidia RTX4090 by brucethemoose2 on Thursday October 26, 2023 @06:52PM (#38032680)
I didn't know this, interesting.

I don't really like DoF anyway :P

Re:Cities Skylines 2 runs with 20fps on an Nvidia RTX4090 by reactordev on Thursday October 26, 2023 @07:56PM (#38033163)
Because it’s factually false.
Re:Cities Skylines 2 runs with 20fps on an Nvidia RTX4090 by gruez on Thursday October 26, 2023 @07:13PM (#38032846)
>it generally also swaps textures and models based on distance from camera.

Isn't that just LOD, and is done regardless of whether dof is enabled or not?

Re:Cities Skylines 2 runs with 20fps on an Nvidia RTX4090 by VHRanger on Thursday October 26, 2023 @07:20PM (#38032894)
Yeah, normally this is LOD and is a separate subsystem
Re:Cities Skylines 2 runs with 20fps on an Nvidia RTX4090 by reactordev on Thursday October 26, 2023 @07:55PM (#38033152)
>”it generally also swaps textures and models based on distance from camera.”

What?!? No it doesn’t. It uses the depth buffer to progressively box blur or gaussian blur the frame post-render.

https://lettier.github.io/3d-game-shaders-for-beginners/dept...

Nowhere are they replacing models, replacing textures, or anything of the sort. I suspect the issue here is that box blur with a sampling of 3x3 is exponential performance hit at 4k vs 1080p. By a factor of 8x due to the extra sampling lookups.