New terrain blending

This commit is contained in:
Lukas Aldershaab 2020-12-29 02:00:14 +01:00
parent e92e945912
commit 4f472bf402
12 changed files with 967 additions and 179 deletions

View file

@ -85,6 +85,11 @@ protected:
///
F32 mParallaxScale;
/// Depth for blending the textures using the new
/// blending method. Higher numbers = larger blend
/// radius.
F32 mBlendDepth;
public:
TerrainMaterial();
@ -122,6 +127,8 @@ public:
F32 getParallaxScale() const { return mParallaxScale; }
F32 getBlendDepth() const { return mBlendDepth; }
bool getIsSRGB() const { return mIsSRGB; }
bool getInvertRoughness() const { return mInvertRoughness; }