summaryrefslogtreecommitdiff
path: root/shaders/fragment.glsl
Commit message (Collapse)AuthorAgeFilesLines
* Minor performance boost + better inputAaditya Dhruv39 hours1-1/+6
| | | | Draw triangles in correct counter clock order, back face wasn't correct
* Add basic block texturesAaditya Dhruv41 hours1-3/+6
| | | | | | | | | - Remove the code that sent colors through uniform variables, instead send texture data - Each vertex now has a texture coordinate - struct texture is a easy way to represent textures, can be extended later - Shaders updated to use textures
* Add basic directional lightAaditya Dhruv4 days1-1/+10
|
* Better rotating cubeAaditya Dhruv7 days1-2/+2
|
* rotating cubeAaditya Dhruv7 days1-1/+1
|
* wipAaditya Dhruv7 days1-0/+6