Eevee: Remove last deprecated textureCubeLod

This commit is contained in:
Clément Foucault
2017-04-18 22:56:55 +02:00
parent 8c584dcb65
commit 94d5ca7cdb

View File

@@ -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;
}
}