summaryrefslogtreecommitdiff
path: root/data/shaders/pbr/pbr-frag.glsl
Commit message (Collapse)AuthorAgeFilesLines
* render: Restructure 3D modules and add basic support for OBJ models.David Thompson2019-10-241-10/+0
|
* render: scene: Apply base color texture and factor.David Thompson2018-09-071-1/+6
| | | | | | | | | * chickadee/render/scene.scm (draw-primitive): Set base color texture and send base color factor as uniform to shader. * data/shaders/pbr/pbr-vert.glsl (texcoord_0): New input attribute. (frag_tex): New output attribute. * data/shaders/pbr/pbr-frag.glsl (frag_tex): New input attribute. (base_color_factor, base_color_texture): New uniforms.
* data: shaders: Update WIP PBR shaders.David Thompson2018-09-061-2/+2
| | | | | They don't *anything* related to PBR, but they allow me to test glTF asset loading as I work towards full PBR support.
* Add beginnings of glTF parser and loader.David Thompson2017-09-131-0/+5
* chickadee/render/asset.scm: New file. * chickadee/render/scene.scm: New file. * data/shaders/pbr/pbr-frag.glsl: New file. * data/shaders/pbr/pbr-vert.glsl: New file.