Jump to content

Only apply shader ot surfaces that are less then 90 degrees


Captain Cody

Recommended Posts

Posted

I was trying to modify a snow shader to only apply to flat and slightly curved surfaces. That is in fact that one I was using. Doesn't work, could it have something to do with all custom objects?

Posted

If it works for gtasa map then it should work for other objects as well. Check out shader roadshine1 - if it works properly for those objects. The issue might be that the objects don't have proper normals. Use kams script to export objects from 3ds - some other scripts mess up normals to prevent dynamic vertex lights from blinking - but also prevent mta from generating normals. 

Posted

Well what I did fixed it for me. due to there only being a small variety of texture names. (Just general *road*,*grass*,*concr*) not to sure why the surface direction thing is not functioning because it's a direct conversion from VC and LC so there shouldn't be any issues with the models.

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