Skip to content
parallel white noise generation via fragment shader
CMake C++ JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
src
.gitattributes
.gitignore
.gitmodules
LICENSE
README.md

README.md

Parallel White Noise via Fragment Shader

This is a GLSL + GLFW (re)implementation of the earlier Cg version of parallel white noise generation on a GPU via cryptographic hash.

Clone

To checkout the code, clone the repo recursively to get all the submodules:

git clone --recursive repo-url

Or do it manually:

git submodule update --init --recursive

Build

For Windows under the visual studio command prompt:

cd build
cmake ..\src
cmake --build . --config Release

Run

cd build
./bin/Release/White.exe [width (int) height (int) animate (0 or 1)]

Press escape key to quit, any other key to change the noise key per frame. You can resize the window to regenerate the random numbers.

You can’t perform that action at this time.