• Content Count

  • Joined

  • Last visited

Everything posted by Paradoxon666

  1. Thank you! I'll check it out asap
  2. Hello, I'm planning to write a paintjob system. I already have a theory, and some of the work is already done, but I'm not sure that I'm doing it right. I involved the following stuff: - shader, engineApplyShaderToWorldTexture (on vehicle) - element data (for vehicle) - png files (the paintjobs) - render target + dxDrawImage When you select a paintjob (on client side, gui menu) it triggers a server side event (client sends the vehicle and the paintjob's id to server) Then server side sets an element data for the vehicle, the data is the paintjob's id. After that it triggers a client side event for all players, where the script applies the shader on the vehicle, creates a render target and uses dxdrawimage with on client render to draw the image/paintjob. It gets the paintjob's id by the vehicle's element data. Is this a correct method, or it's a mess? This is my first project that involves shaders, etc, i'm new in this. Will there be performance loss? how much?