Langerd Posted March 5, 2015 Posted March 5, 2015 I made the guns and gave them _spec texture to make them better looking but i was thinking about one thing - is it possible to create _spec texture that change the color depend which lightning is in the room? For example i am in the blue lighted room and weapon is lightnened in blue but when i go to the red lightned room the weapon is red instead.Is it possible with shader or with scripts?
Mandalorian Posted March 6, 2015 Posted March 6, 2015 It may be possible. compare the shader lines of map textures that you see are affected by the colour of light.
mrwonko Posted March 6, 2015 Posted March 6, 2015 Usually this would probably be done using rbgGen vertex, I don't know how well that works for spec stages.
Langerd Posted March 6, 2015 Author Posted March 6, 2015 Every model i have downloaded they dont have this option at all... they are always white. The same with default. This shader would be good for metal textures as well because they would gain the color from the area lightning not from the color of the texture
Tempust85 Posted March 7, 2015 Posted March 7, 2015 Have a play with shaderEd, it should be possible.
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