Jump to content

engineApplyShaderToWorldTexture issue


NeXTreme

Recommended Posts

Posted

Hello.

I'm having a bit of a problem using engineApplyShaderToWorldTexture. Maybe I am just missing something?

Anyway, I am using this function to replace a texture. What is really annoying here is that the "old" SHADED texture (yes, seems to already be shaded by GTA itself) doesn't get stored anywhere - just the render states get stored. I can recreate the original effect by just adding a pass with no custom vertex and pixel shaders. However, this is now a huge problem for me, because I then can't do correct lighting calculations on my custom texture drawn with the second pass. Also, there is now severe flickering on the place where two textures are.

Solutions?

Website: http://www.twisted-gamers.net

Don't you just love the error messages in LUA?

notmem11.png

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