Commit Graph

26 Commits

Author SHA1 Message Date
Kalle Bladin 850ccb6d3c Update rendering of shadow texture and water mask in RenderableGlobe. 2016-08-25 00:00:22 -04:00
Kalle Bladin c01808ce10 Convert tabs to spaces. 2016-08-17 00:30:53 -04:00
Erik Broberg c25d1cdc88 Enable GUI toggling of visualization of heightmap resolution and intensities 2016-07-14 17:09:35 -04:00
Erik Broberg a77c7466cb Factor out tile vertex height calculation to separate shader file 2016-07-14 13:00:25 -04:00
Kalle fd05a88419 Create new layer category heightmap overlay used for local datasets with alpha channel. 2016-07-07 20:59:02 -04:00
Kalle Bladin b5f1a09b8c Cache uniform IDs upon recompiling of shader programs. Renaming of uniforms in shader code. 2016-06-13 18:57:18 -04:00
Erik Broberg 0ef0343efd Toggle show chunk edges from gui and calculate level weights only once per vertex 2016-06-09 17:14:46 -04:00
Erik Broberg 25d02086a1 Use separate function for getting level weights 2016-06-09 14:18:39 -04:00
Erik Broberg 7ac8e37807 Rename TextureTile to Tile in shader for better correspondance with its CPU counterpart 2016-06-09 13:22:44 -04:00
Kalle Bladin 3980aeff57 Add the layer types water mask, nighttexture, and overlay as well as the option to toggle atmosphere. 2016-06-08 21:30:19 -04:00
Kalle Bladin 82d375373d Make it possible to activate and deactivate layer types and blending. 2016-06-05 18:38:19 -04:00
Kalle Bladin 9d59c25310 Failed experiment with anisotropic filtering. 2016-06-05 12:55:00 -04:00
Kalle Bladin c891cc8d85 Change sampling of textures from array to be fixed. 2016-06-02 17:42:58 -04:00
Kalle Bladin 14eb1c0563 Clean up chunked lod patch shaders. 2016-06-02 11:16:10 -04:00
Kalle Bladin c241448007 Enable blending between ties of different levels to avoid some of the poping artifacts. 2016-06-01 20:47:07 -04:00
Kalle Bladin aa5e64c31b Change length of skirts to be relative the size of the patches. 2016-05-31 12:49:08 -04:00
Kalle Bladin 096c19e49f Change definition of for loop statements in shader preprocessor to include both max and min. 2016-05-31 12:17:40 -04:00
Kalle Bladin 7df7df6610 Implement skirts. 2016-05-27 16:48:23 -04:00
Kalle Bladin 8f394a2b80 Add local scopes to for loops in shaders. 2016-05-17 13:18:56 -04:00
Kalle Bladin daf1b5873e Rendering using many layers. 2016-05-16 20:48:23 -04:00
Kalle Bladin fecfcc5bd8 Fix problems for compiling and running on OSX. 2016-05-16 10:27:20 -04:00
Kalle Bladin 6601282402 Fix rendering bugs and commented a TODO in layeredtextureshaderprovider.cpp 2016-05-13 18:19:29 -04:00
Kalle Bladin 6c13686229 Layered texture shader provider used to get shaders up to date. Not everything implemented yet. 2016-05-13 17:32:14 -04:00
Kalle Bladin edf08d2b3d Use datastructure TextureTile for tiles in shader. 2016-05-12 13:15:50 -04:00
Kalle Bladin 4e95aaab82 Using scaling and offset for heightmap based on dataset. 2016-05-12 11:06:49 -04:00
Kalle Bladin 41865bdc92 Chunked lod patches can be rendered in camera space. 2016-05-11 15:47:29 -04:00