Skip to content

Real-time software rasterizer using compute shaders, including vertex processing stage (IA and vertex shaders), bin rasterization, tile rasterization (coarse rasterization), and pixel rasterization (fine rasterization, which calls the pixel shaders).

Notifications You must be signed in to change notification settings

StarsX/ComputeRaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComputeRaster

Real-time software rasterizer using compute shaders, including vertex processing stage (IA and vertex shaders), bin rasterization, tile rasterization (coarse rasterization), and pixel rasterization (fine rasterization, which calls the pixel shaders). The execution of the tile rasterization pass adaptively depends on the primitive areas accordingly. In bin rasterization pass, if the primitive area is greater then 4x4 tile sizes, the bin rasterization will be triggered; otherwise, the bin rasterization pass will directly output to the tile space instead, and skip processing the corresponding primitive in the tile rasterization pass.

Bunny result Venus result

Hot keys:

[F1] show/hide FPS

[Space] pause/play animation

Prerequisite: https://github.com/StarsX/XUSG

About

Real-time software rasterizer using compute shaders, including vertex processing stage (IA and vertex shaders), bin rasterization, tile rasterization (coarse rasterization), and pixel rasterization (fine rasterization, which calls the pixel shaders).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published