aboutsummaryrefslogtreecommitdiffstats
path: root/frag.glsl
Commit message (Collapse)AuthorAgeFilesLines
* fragment shader: implement blinn-phongTomasz Kramkowski2018-05-041-3/+3
|
* Cleanup: License headers, spacing, namingTomasz Kramkowski2018-05-021-4/+6
| | | | | | | Rename vnorm to fnorm (fragment normal). Change shader license headers to C++ style comments. Fix spacing for PI define in faqe.c. Add missing license headers.
* Implement diffuse texture loading and basic material supportTomasz Kramkowski2018-05-021-1/+4
|
* shaders: fix initialisation of vec3Tomasz Kramkowski2018-04-301-2/+2
|
* Implement basic fixed point light source and phong shadingTomasz Kramkowski2018-04-301-2/+19
| | | | | | This patch places a single point light source in the scene and implements view-space phong shading around it. This is in preparation for texture values being fed in from a set of textures.
* Add more vertex attributes (use a struct)Tomasz Kramkowski2018-03-271-1/+2
|
* init commitTomasz Kramkowski2018-03-261-0/+9