UI: Asset Shelf (Experimental Feature) #104831

Closed
Julian Eisel wants to merge 399 commits from asset-shelf into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 755bc39238 - Show all commits

View File

@ -8,7 +8,7 @@ vec4 reflection_probe_eval(ClosureReflection reflection,
ReflectionProbeData probe_data)
{
ivec3 texture_size = textureSize(reflectionProbes, 0);
float lod_cube_max = min(log(float(texture_size.x)) - float(probe_data.layer_subdivision) + 1.0,
float lod_cube_max = min(log2(float(texture_size.x)) - float(probe_data.layer_subdivision) + 1.0,
float(REFLECTION_PROBE_MIPMAP_LEVELS));
/* Pow2f to distributed across lod more evenly */