Describe the bug
After the latest update (probably “Fix setVehicleDirtLevel (#3837)” r22823), it is no longer possible to apply shaders to the vehiclegrunge256 texture.
This blocks many opportunities for shader use.
Steps to reproduce
- Run example code (Based on shader_tex_names)
shader = dxCreateShader([[ float4 GetColor() { return float4( 1,0,1, 1 ); } technique tec0 { pass P0 { MaterialEmissive = GetColor(); } } ]]) engineApplyShaderToWorldTexture(shader,"vehiclegrunge*")
- Compare the results in the release after 22823 and before 22823.
Version
Client: Multi Theft Auto v1.6-release-22829 (>22823)
Server: -
Additional context
r22789

r22829

Relevant log output
Security Policy