It's more about 3D mode, but still. The question is possible to do it, and what will be needed from the community (donations, something else)?
Forum
CS2D General RT in cs2d?RT in cs2d?
3 replies 1
It's more about 3D mode, but still. The question is possible to do it, and what will be needed from the community (donations, something else)?
https://www.unrealsoftware.de/forum_posts.php?post=327522&start=3220#post430922
So, the fundamental question is: Can we transform CS2D into a 3D environment?
This forum is timeless...
Longer answer:
Point 1: What GeoB99 said.
Point 2: What SQ said. CS2D is 2D. The 3D mode is very basic and there are no 3D characters or 3D lighting whatsoever. The basic requirements for 3D raytracing are not given.
Point 3: Raytracing in modern games is using GPUs which are optimized for this task because calculating raytracing on CPU is too slow. CS2D can't easily leverage GPU based raytracing because it's running on old tech.
Funnily enough, you could say that CS2D already uses raytracing. The fog of war calculation and also visibility checks are basically using raytracing. Just at a very low resolution / frequency.
You could try to implement 2D lighting and reflections with raytracing but that would be way too slow. Especially when trying to do it on CPU and in realtime.
1