Decro Posted March 12, 2017 Posted March 12, 2017 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.
NeXuS™ Posted March 13, 2017 Posted March 13, 2017 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)
Decro Posted March 15, 2017 Author Posted March 15, 2017 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.
MIKI785 Posted March 15, 2017 Posted March 15, 2017 I'm sure there is a way but wouldn't it be easier to just replace the texture with an empty texture? Like 1x1 transparent .png file?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now