asc-community / MxEngine

C++ open source 3D game engine
BSD 3-Clause "New" or "Revised" License
1.12k stars 59 forks source link

Raytracing #9

Open WhiteBlackGoose opened 4 years ago

WhiteBlackGoose commented 4 years ago

Render rays of light to render reflections correctly (as a submodule)

MomoDeve commented 4 years ago

Just my thoughts: We can make reflections using SSR post-effect technique, after deferred rendering pipeline will be implemented. Raytracing is hard to implement and probably requires big changes in engine core. There is an option to create a sample with custom shaders, which perform raytracing for simple shapes though

MomoDeve commented 3 years ago

Do you want actual raytracing via RTX, or comfortable with SSR? :)

WhiteBlackGoose commented 3 years ago

Yes (both)

niansa commented 3 years ago

Honestly I think SSR is enough for now as it works on all GPUs flawlessly. RTX could ofc be implemented later on.

MomoDeve commented 3 years ago

for RTX raytracing the engine must be ported to Vulkan API. I am working on it, but it can take quite a long time