Hide first row of pixels in name tag.

There was a hyper thin line of black pixels at the top of name tags. This uses the subImage to just hide it.
This commit is contained in:
armored-dragon 2025-03-05 03:50:00 -06:00
parent 3e52bb1253
commit 88606ee136
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -137,6 +137,7 @@ function onWebEventReceived(event) {
parentID: userUUID,
billboardMode: "full",
imageURL: eventPacket.data.imageBase64,
subImage: { x: 0, y: 1, width: 3000, height: 1100 }, // Crop the first row of pixels. (Image not clamped?)
canCastShadow: false,
grab: {
grabbable: false