Open etrnl1337 opened 2 years ago
dxCreateShader("shader.fx", 0, 0, false, "ped")
That should do it, by default shaders don't apply to peds.
dxCreateShader("shader.fx", 0, 0, false, "ped")
Doesn't change anything.
Well, I know for a fact that shaders do apply to players, so this is a non-issue. There is something wrong with your script.
Well, I know for a fact that shaders do apply to players, so this is a non-issue. There is something wrong with your script.
How can this work for everyone but when i indicate targetElement this doesn't work?
Someone was talking about this on mta forum a long time ago, i've double checked everything and it's MTA fault. If you don't believe my script just copy paste it and reproduce it and make it work 🥇
I'am saying that something is wrong when applying shader to shadow - not to player only.
Then it's the same thing with nitro, smokes and particles in general, they are from the world hence they aren't related to any element, so you can't do that to eliminate shadows sadly.
I don't think this can be solved easily, performance could be a concern. Someone from MTA Staff should know better. If this is looked into, then it would be nice to also look for other particles.
Then it's the same thing with nitro, smokes and particles in general, they are from the world hence they aren't related to any element, so you can't do that to eliminate shadows sadly.
I don't think this can be solved easily, performance could be a concern. Someone from MTA Staff should know better. If this is looked into, then it would be nice to also look for other particles.
I deduced this myself but wasn't sure if that's the reason, waiting for staff to answer with this.
We would need a function "getElementEffects" that returns all effects that are related to certain elements, for example chimney smoke, nitro, fire, shadows...
Describe the bug
can't apply engineApplyShaderToWorldTexture "shad_ped" texture for specific player, only for everyone.
Probably this works like that on other shadow's like for example car shadow, my question is why?
Code in steps to reproduce.
Steps to reproduce
Version
cver: Multi Theft Auto v1.5.9-release-21261 sinfo: Server info for x.x.x.x Ver: 1.5.9-9.21238.0 AC: [Allowed client files: None] [Disabled AC: None] [Enabled SD: None] Voice: Disabled Glitches: None Bullet sync weapons: 22,23,24,25,26,27,28,29,30,31,32,33,34 Vehicle extrapolation: Disabled Tick rates: Plr:75 Cam:400 Ped:300 UnocVeh:300 KeyRot:75 KeyJoy:200 Syncer distances: Ped:100 UnoccupiedVehicle:130
Additional context
No response
Relevant log output
No response
Security Policy