Skip to content

Run shadertoy shaders on CPU with multithreading and SIMD

License

Notifications You must be signed in to change notification settings

re-esper/CPUShadertoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPU Shadertoy

Run shadertoy shaders on CPU with multithreading and SIMD. Just for fun and learning about ISPC, the Intel SPMD program compiler.

With this project, you can just copy-and-paste shadertoy shaders, run it on CPU with no or little modification, and get high performance.

This project is highly inspired from zigguratvertigo's hlsl-to-ispc.

This project is still incomplete and working in progress.

Showcases

Descent 3D (Shadertoy's "Shader of the Week" for now, original)

Warping - texture (original)

Deform - flower (original)

Flower at night (original)

Glow City (original)

Performance

I got around 18FPS, running "Glow City" on my Intel Core i7-7700K. As a comparison, around 31FPS when using GPU(HD 630) on shadertoy.com(Chrome).

About

Run shadertoy shaders on CPU with multithreading and SIMD

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published