Jump to content

[Question] Shaders


XML

Recommended Posts

Hello,

if i want to make a shader with a specific texture to every vehicle in the server

do i have to repeat: dxCreateShader ? for every vehicle ?

Note: i tested that by creating a new Shader for every vehicle on the server,

and it worked, But when i make only one Shader, All vehicles will have the same last shader.

So my question is, Is it necessary to make a new Shader for every vehicle ?

And if so, Should i refresh the Shaders every time i use it ?

Like destroying all of the old Shaders and remaking them again ?

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...