
The WebGL limit that turns your terrain white
The 3D ground samples exactly sixteen textures, which is WebGL2's guaranteed floor. Adding one more does not degrade the render. It fails the shader link.
Tag
Development posts tagged terrain. Tags cut across the categories, so this pulls together work on the same subject from different parts of the game.
6 posts

The 3D ground samples exactly sixteen textures, which is WebGL2's guaranteed floor. Adding one more does not degrade the render. It fails the shader link.

March an army across a winter map and it carves packed trenches with lit rims. Four separate weather signals travel in the four channels of one texture.

A biome sounds like a colour scheme. In this game it is eleven tiling textures, a measured average colour, a rock language, a sky and a kind of weather.

The map used to be a flat plane with rock painted where you could not walk. Now the ground rises, cliffs block, ramps are the doors, and high ground sees.

Water used to be a wall. Adding one terrain value gave the map fords that infantry wade, ships crawl through and docks stand in, and broke three things.

Grass now bleeds into dirt along a warped contour instead of a grid of transition tiles, and the 2D and 3D views of a map finally draw the same world.