Skip to content

DecalGeometry: Decal projections without distortions. #21187

@ManishJu

Description

@ManishJu

Describe the bug

The decal gets replicated when splatted. This happens when you try to splat just around the corners; you can then clearly see the partial/full replication (just once) of that decal on the adjacent side to the face you have splatted on.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://threejs.org/examples/?q=decal#webgl_decals
  2. Click on bottom part of the model's shoulder
  3. You can see the decal being replicated partially on the adjacent side

Expected behavior

The decal should only be present on the side splatted on

Screenshots

Splat_bug

Platform tested on:

  • Device: [Desktop]
  • OS: [Windows, MacOS, Linux]
  • Browser: [Chrome, Firefox]
  • Three.js version: [r125]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions