-
-
Notifications
You must be signed in to change notification settings - Fork 500
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
dxDrawMaterialPrimitive3D uses a table to store every primitive data:
{x,y,z, u, v} or {x,y,z,color, u, v}
If color parameter (tocolor) is provided, it is ignored and the color used results in white.
To reproduce
I was even able to reproduce with test resource provided by CrosRoad95:
- Download test resource 3dprim.zip
- Start 3dprim.
- Go to Toreno house (or
crun setElementPosition(localPlayer, -693.81708, 951.90002, 12.24125)) - The drawn primitive will not look like in: Add dxDrawPrimitive3D and dxDrawMaterialPrimitive3D #760
Expected behaviour
Color paremeter should paint the image. How I know it is bugged?
Well, it worked on the version it was implemented because I did a fast script based on Tron gamemode:
Screenshots
How it should look:

Version
I tested in two different versions and in both it's bugged:
Server: v1.5.7-release-20288
Client: v1.5.7-release-20288
Server: v1.5.7-release-20343
Client: v1.5.7-release-20343
Additional context
nada
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

