DRTVWR-592: (WIP) Test impact of higher threshold on performance and visuals

meow-7.2.2
Cosmic Linden 2023-10-13 10:39:56 -07:00
parent a8d69a4bae
commit bb0ae367d7
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ vec3 terrain_texture_normal(sampler2D tex, TerrainCoord terrain_coord)
{
float sharpness = TERRAIN_TRIPLANAR_BLEND_FACTOR;
vec3 weight = pow(abs(vary_vertex_normal), vec3(sharpness));
float threshold = 0.01;
float threshold = 0.1;
weight = max(vec3(0), sign(weight - threshold));
int sample_type = (int(weight.x) << 2) |
(int(weight.y) << 1) |