YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
22 stars 8 forks source link

3d shader different models bug #1625

Open gm-bug-reporter[bot] opened 1 year ago

gm-bug-reporter[bot] commented 1 year ago

Description

the shd_modelTranform is effecting the draw of other objects that uses that shader. Causing them to look glitchie. the models must be different for this to happen. Only fix i have came up with is using a duplicate shader.

Steps To Reproduce

load the game with two different units.

98bffd49-46ad-48b7-9c98-b1e60df836df

pkraif commented 11 months ago

Could you please provide a more detail description of how to reproduce the issue or what the issue exactly looks like? I'm testing it with archers and cavalry and this is what I get:

imageimage

From checking the code, they both use the same shader shd_modelTranform.