[SPIGOT-5841] Custom map rendering color space cut-off Created: 26/Jun/20  Updated: 26/Jun/20  Resolved: 26/Jun/20

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Extremelyd1 Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.16.1, MapCanvas, MapRenderer
Environment:

Server running Spigot 1.16.1 and the plugin provided in the attachment.


Attachments: File MapTest-0.1.jar     PNG File javaw_2020-06-26_15-29-17.png     PNG File javaw_2020-06-26_15-29-24.png     PNG File javaw_2020-06-26_15-29-28.png     PNG File javaw_2020-06-26_15-29-35.png     PNG File javaw_2020-06-26_15-29-41.png     PNG File javaw_2020-06-26_15-29-49.png    
Version: CraftBukkit version git-Spigot-16d7899-4ff609e (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

The color space of custom map rendering seems to be cut off at some point. Some RGB colors are not being rendered onto the map. If you run the attached plugin on a Spigot server and run

/test

you are given 6 maps on which multiple color spaces are rendered. On several of these maps the color is not at all rendered, showing the blank texture of an unexplored map. The following screenshots also show the 6 maps:

Note that in previous version this was possible and working (for example in 1.15.2) with the same code.


Generated at Tue Apr 15 09:41:38 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.