Skip to content

Why Outline's props patternTexture type is number? #182

Description

@Suprhimp

Hi, I'm very happy to use r3f and react-postprocessing now with my project.

By the way, I found something strange about the OutlineEffect.

I tested the props patternTexture in OutlineEffect, I found that patternTexture type is number. When I follow the OutlineEffect from postprocessing, patternTexture is not number. I think it should be THREE.Texture.

When I just put my pattern image to patternTexture props, it just cover my whole scene like below.
image

  • I think we should allow visibleEdgeColor,hiddenEdgeColor props type string.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions