xCollateral / VulkanMod

Vulkan renderer mod for Minecraft.
GNU Lesser General Public License v3.0
1.45k stars 169 forks source link

Asynchronous Reprojection (improve playability at low FPS) #290

Open CodeF53 opened 10 months ago

CodeF53 commented 10 months ago

Virtual Reality has been using asynchronous reprojection to increase perceived framerate and responsiveness for nearly 4 years.

The effect works by translating/rotating (simple matrix multiplication) the last rendered frame and projecting it to give better feedback for camera movement before a new frame is rendered.

Demos of the idea:

Comrade Stinger's demo (Unity) - Source Code LTT showcase of Comrade Stinger's demo Implementation in vulkan

CuteistFox commented 3 months ago

Just here to note someone made a PoC of this in minecraft

Felix14-v2 commented 3 months ago

someone made a PoC of this in minecraft

The performance is awful tho, and implementation isn't perfect. But yeah, it works, and even compatible with Sodium