Shader question

Discussion of rolling-stock creation & re-painting.

Shader question

Unread postby SCLJim » Sat Apr 23, 2011 2:35 pm

Hi everyone. I have another noob question as I work a little more with the shader system. I think I already know the answer but I wanted to get some clarification in case someone may know something I've missed.

The question would be, is there a shader setup in RW that allows for diffuse, spec, normal, and alpha punch through? From what I have read in the docs the answer is no, since the spec is plugged into the diffuse alpha. If that is the case, I am completely confused as to why the spec doesn't have its own separate input, apart from the diffuse alpha.
User avatar
SCLJim
 
Posts: 208
Joined: Mon Feb 14, 2011 6:33 pm
Location: Midwest

Re: Shader question

Unread postby Kali » Sat Apr 23, 2011 2:44 pm

The answer as you guessed, is no. No bumpy glass for you! which is perhaps the answer, because you'd have to distort everything rendered behind it and that might be just a little computationally expensive. Having seperate specular and normal maps for every texture also starts eating memory quite fast.
Kali
 
Posts: 1600
Joined: Mon Mar 14, 2011 1:00 am
Location: England-by-Sea

Re: Shader question

Unread postby SCLJim » Sat Apr 23, 2011 3:20 pm

Thanks for the quick reply! Lol I wasn't actually thinking in terms of bumpy glass. What I had in mind was for the woodrack I'm working on. The sides of the wood load are done with an alpha punch so I could avoid tying up a lot of geo in the outline of the individual logs. I was hoping there was some way that I could give a little variation to the ends of the logs with a normal map and still have the alpha punch.

Image
User avatar
SCLJim
 
Posts: 208
Joined: Mon Feb 14, 2011 6:33 pm
Location: Midwest

Re: Shader question

Unread postby Kali » Sat Apr 23, 2011 3:33 pm

There is "LoftBumpAlpha" which from the name and little description seems to have all the components you'd want ( you don't really need specular map for wood, do you? ), but a) it doesn't appear to be documented at all, and b) I've absolutely no idea what using a loft shader on a non-loft element would do...
Kali
 
Posts: 1600
Joined: Mon Mar 14, 2011 1:00 am
Location: England-by-Sea


Return to Rolling-Stock Design

Who is online

Users browsing this forum: No registered users and 2 guests