Eevee: Remove last deprecated textureCubeLod
This commit is contained in:
@@ -40,7 +40,7 @@ void main() {
|
||||
/* http://http.developer.nvidia.com/GPUGems3/gpugems3_ch20.html : Equation 13 */
|
||||
float lod = clamp(lodFactor - 0.5 * log2(pdf * dist), 0.0, lodMax) ;
|
||||
|
||||
out_radiance += textureCubeLod(probeHdr, L, lod).rgb * NL;
|
||||
out_radiance += textureLod(probeHdr, L, lod).rgb * NL;
|
||||
weight += NL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user