Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aib/lwjgl-shader
https://github.com/aib/lwjgl-shader
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aib/lwjgl-shader
- Owner: aib
- Created: 2012-01-25T02:35:51.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-01-28T10:48:10.000Z (almost 13 years ago)
- Last Synced: 2023-03-22T12:27:18.014Z (almost 2 years ago)
- Language: Java
- Homepage:
- Size: 82 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
These are a simple set of wrapper classes to make working with shaders in LWJGL
(Minecraft) easier. They should be easy to use:try {
myShader = new Program()
.attachShader(new Shader(GL20.GL_VERTEX_SHADER, new FileReader("myShader.vert")).compile())
.attachShader(new Shader(GL20.GL_FRAGMENT_SHADER, new FileReader("myShader.frag")).compile())
.link();
} catch (FileNotFoundException e) {
...
} catch (ShaderException e) {
...
}