re-esper / CPUShadertoy

Run shadertoy shaders on CPU with multithreading and SIMD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C 84.2%Language:C++ 15.8%