Jump to content

how use shaders?


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...