Hey,
I have been using this example .
Did anybody solve how to normalize decal orienation for each single point? I think it could be possible to split decal image to multiple smaller ones and then apply for each. But there are several other challenges in this approach.
From this side it looks OK:
But if you rotate object, then it looks distorted
Thanks!
What you see is a current restriction of the decal projection algorithm. More information at GitHub:
opened 02:28PM - 01 Feb 21 UTC
Enhancement
Examples
**Describe the bug**
The decal gets replicated when splatted. This happens wh… en 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](https://user-images.githubusercontent.com/24234466/106471544-a66f0680-6499-11eb-90ee-293c724c0091.PNG)
**Platform tested on:**
- Device: [Desktop]
- OS: [Windows, MacOS, Linux]
- Browser: [Chrome, Firefox]
- Three.js version: [r125]