CrosRoad95 Posted May 15, 2017 Share Posted May 15, 2017 https://wiki.multitheftauto.com/wiki/Element/Shader#How_HLSL_Effect_Files_file_integrate_into_MTA:SA how can i use example at bottom of page named "Not so simple" texture display, but i want to move this texture, i use this function r() return math.random(1,100)/13 end dxSetShaderValue(shader,"Tex0",texture); dxSetShaderValue(shader,"gWorldViewProjection",r(),r(),r(),r(),r(),r(),r(),r(),r(),r(),r(),r(),r(),r(),r(),r()); gWorld, Position etc values and doesnt work Link to comment
MTA Team ccw Posted May 15, 2017 MTA Team Share Posted May 15, 2017 Moved to scripting section Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now