Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGPURenderer: Texture2D Array #27190

Merged
merged 6 commits into from
Nov 16, 2023
Prev Previous commit
Next Next commit
WebGLNodeBuilder: Fix function names
  • Loading branch information
sunag committed Nov 16, 2023
commit 617e08907f24312ec676657a0069bb3a6dfdee13
4 changes: 2 additions & 2 deletions examples/jsm/renderers/webgl-legacy/nodes/WebGLNodeBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ class WebGLNodeBuilder extends NodeBuilder {

}

getTexture( texture, textureProperty, uvSnippet ) {
generateTexture( texture, textureProperty, uvSnippet ) {

if ( texture.isTextureCube ) {

Expand All @@ -431,7 +431,7 @@ class WebGLNodeBuilder extends NodeBuilder {

}

getTextureBias( texture, textureProperty, uvSnippet, biasSnippet ) {
generateTextureLevel( texture, textureProperty, uvSnippet, biasSnippet ) {

if ( this.material.extensions !== undefined ) this.material.extensions.shaderTextureLOD = true;

Expand Down