Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matdombrock/shaderlab
Various GLSL shaders
https://github.com/matdombrock/shaderlab
Last synced: 7 days ago
JSON representation
Various GLSL shaders
- Host: GitHub
- URL: https://github.com/matdombrock/shaderlab
- Owner: matdombrock
- Created: 2023-02-23T06:53:35.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-21T07:32:23.000Z (7 months ago)
- Last Synced: 2024-11-07T04:44:31.765Z (about 2 months ago)
- Language: HTML
- Size: 289 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GLSL SHADER LAB
A tool for rapidly testing and demoing GLSL shaders using WebGL. Creates standalone HTML files that render the shaders.## Usage
- Add shader code to `./shaders`
- Run `node build-demos.js`
- HTML files are output to `./webdemo` and can be loaded directly into a browser (no server required).## Uniforms
```glsl
float u_time
float u_timeDelta
int u_frame
vec2 u_resolution
vec2 u_mouse
```## Directories
- `./examples` contains example shader code that can be used as a reference
- `./shaders` contains the "cool" shaders which will actually be built as web demos
- `./src` contains meta code used to build the web demos
- `./src/glsl.js` contains the logic used to setup the shader env