We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f71f96 commit 52420d2Copy full SHA for 52420d2
packages/atmosphere/README.md
@@ -180,9 +180,8 @@ composer.addPass(
180
)
181
182
183
-// PrecomputedTexturesLoader defaults to loading single-precision float
184
-// textures. Check for OES_texture_float_linear and load the appropriate one.
185
const texturesLoader = new PrecomputedTexturesLoader()
+texturesLoader.setTypeFromRenderer(renderer)
186
texturesLoader.load('/assets', textures => {
187
Object.assign(skyMaterial, textures)
188
sunLight.transmittanceTexture = textures.transmittanceTexture
0 commit comments