When a model has the alphaTransparency property enabled, the number of displayed objects becomes limited (~200). The issue does not occur when alphaTransparency is set to false.
This applies to both default models and replaced ones.
This is mainly a problem with all types of grasses and plants.
startPosition = Vector3(-1193.58, -1058.74, 128)
engineStreamingRequestModel(806,true,true) -- Plant with alpha
engineStreamingRequestModel(1337,true,true) -- Bin without alpha
addEventHandler('onClientRender',root,function()
for x=0,50 do
for y=0,50 do
dxDrawModel3D(806, startPosition.x + x, startPosition.y + y, startPosition.z, 0,0,0, 1,1,1,1)
end
end
for x=50,100 do
for y=0,50 do
dxDrawModel3D(1337, startPosition.x + x, startPosition.y + y, startPosition.z+1, 0,0,0, 1,1,1,1)
end
end
end)
Look at the number of objects.
Grass model when alphaTransparency is false.

Describe the bug
When a model has the alphaTransparency property enabled, the number of displayed objects becomes limited (~200). The issue does not occur when alphaTransparency is set to false.
This applies to both default models and replaced ones.
This is mainly a problem with all types of grasses and plants.
Steps to reproduce
...Or
Run code:
Look at the number of objects.
Version
Multi Theft Auto v1.6-release-23953
Additional context
Two model combinations (same quantity)

Grass model when alphaTransparency is false.

alphaTransarency is true

Relevant log output
Security Policy