Jump to content

Set texture alpha by shader


Decro

Recommended Posts

Posted

Is there a way to set some texture alpha by the shader? For example: i have a vehicle model, and i want to make some texture on it invisible.

Posted

Did you try setting a components alpha? (getVehicleComponents() and then use maybe a for cycle or just access its data by just calling it. It returns an array of the actual vehicle's components)

Posted
On 13.03.2017 at 10:07, Patrik91 said:

Did you try setting a components alpha? (getVehicleComponents() and then use maybe a for cycle or just access its data by just calling it. It returns an array of the actual vehicle's components)

Nope. This function returns just an array with NAMES of vehicle components, not the certain elements. And the question is how to set texture alpha, not a component.

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