aboutsummaryrefslogtreecommitdiffstats
path: root/vert.glsl
Commit message (Collapse)AuthorAgeFilesLines
* Animate the light position around the cubeTomasz Kramkowski2018-05-031-2/+1
|
* 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-0/+2
|
* shaders: fix initialisation of vec3Tomasz Kramkowski2018-04-301-1/+1
|
* Implement basic fixed point light source and phong shadingTomasz Kramkowski2018-04-301-3/+11
| | | | | | 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.
* Implement basic model loading of FMD format.Tomasz Kramkowski2018-04-271-3/+6
| | | | | | | | | | | | The FMD (Faqe Model Data) format is a format designed for faqe. It stores vertex, element and material information and mesh information. This patch provides the basic implementation and use of this format. This patch also implements perspective projection, depth testing and view and model matrices. An example fmd file is provided.
* Add more vertex attributes (use a struct)Tomasz Kramkowski2018-03-271-0/+5
|
* init commitTomasz Kramkowski2018-03-261-0/+9