4 ms·
Terrain blending theory: https://github.com/SFTtech/openage/blob/b7af79f1d5bfcc9869353a73577bfe68193a2a10/doc/media/blendomatic.md https://github.com/SFTtech/op
by thejj 12y ago
Terrain blending theory: https://github.com/SFTtech/openage/blob/b7af79f1d5bfcc9869353a73577bfe68193a2a10/doc/media/blendomatic.md https://github.com/SFTtech/openage/blob/b7af79f1d5bfcc986935...
Terrain blending implementation: https://github.com/SFTtech/openage/blob/b7af79f1d5bfcc9869353a73577bfe68193a2a10/cpp/terrain.cpp#L380 https://github.com/SFTtech/openage/blob/b7af79f1d5bfcc986935...
I think we got the perfectly matching algorithm, we even get the same blending bugs with snow :D
- captainmuon 12y agoCool! How do you draw heights? I always wondered whether the ground texture was really texture-mapped, or whether it was just drawn flat and then shades were drawn over it.