Skip to content

Transparent default color #55

Answered by marcofugaro
chrsmlls333 asked this question in Q&A
Discussion options

You must be logged in to vote

you can make only the projection visible by using the backgroundOpacity uniform, in combination with transparent: true:

const material = new ProjectedMaterial({
  camera: webgl.camera,
  texture,
  transparent: true,
})
material.uniforms.backgroundOpacity.value = 0

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@chrsmlls333
Comment options

@marcofugaro
Comment options

Answer selected by chrsmlls333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #54 on February 15, 2023 00:39.