summaryrefslogtreecommitdiff
path: root/data/shaders/phong-frag.glsl
Commit message (Collapse)AuthorAgeFilesLines
* graphics: Fix compatibility issue with cube maps in phong/pbr shaders.David Thompson2021-10-081-1/+4
|
* graphics: Enable nvidia cube map extension in shaders that use samplerCube.David Thompson2021-09-281-0/+1
|
* Fix compatibility shims in PBR/Phong fragment shaders.David Thompson2021-09-281-1/+1
|
* graphics: light: Add intensity field.David Thompson2021-09-231-2/+3
|
* graphics: Add basic image based ambient lighting.David Thompson2021-08-161-3/+8
|
* graphics: Always use normal/ambient/etc. maps.David Thompson2021-08-121-41/+21
| | | | | If models don't specify their own textures, use noop textures as appropriate.
* graphics: Refactor model/phong/pbr modules to use new mesh module.David Thompson2021-08-121-25/+20
|
* graphics: phong: Use Blinn-Phong method for specular highlights.David Thompson2021-08-081-1/+2
|
* graphics: phong: Improve lighting.David Thompson2021-08-061-10/+21
|
* graphics: phong: Respect the user defined lights passed to draw-model.David Thompson2021-05-141-40/+134
|
* graphics: phong: Extract shader code to separate files.David Thompson2021-05-071-0/+89