summaryrefslogtreecommitdiff
path: root/shaders/terrain_fragment.glsl
AgeCommit message (Collapse)AuthorFilesLines
2011-07-02Import and render tree models.Jon Bergli Heier1-3/+4
Trees are loaded from the new trees.blend using assimp. Tree objects are then received from the server and rendered on the given terrain locations. Each chunk now holds a list of objects and coordinates, which can be used to easily add other models as well. Also moded the GLSL fog code to its own shader which can be linked in different programs.
2011-05-28Color terrain blue while underwater, raised sand level.Jon Bergli Heier1-6/+3
2011-05-28Terrain changes, added water.Jon Bergli Heier1-6/+11
2011-05-10Adjusted fog function.Jon Bergli Heier1-1/+1
2011-05-10Added fog and implemented a simple skybox.Jon Bergli Heier1-1/+2
2011-04-11Draw a selection marker on the terrain.Jon Bergli Heier1-4/+14
2011-04-10Simple raise/lower implementation.Jon Bergli Heier1-1/+1
2011-04-09Terrain multitexturing.Jon Bergli Heier1-0/+22