Skip to content

WebGLArrayRenderTarget: Constructor texture options are not respected #28100

@gkjohnson

Description

@gkjohnson

Description

When passing texture options into the WebGLArrayRenderTarget constructor they are not retained on the target.texture objects as expected.

Reproduction steps

  1. Create a new WebGLArrayRenderTarget with custom texture options
  2. See that options are not retained

Code

target = new THREE.WebGLArrayRenderTarget( 1, 1, 1, { wrapS: THREE.RepeatWrapping } );
target.texture.wrapS === THREE.RepeatWrapping;

Live example

Run above code in three.js docs console

Screenshots

No response

Version

163

Device

Desktop

Browser

Chrome

OS

MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions