Sunday, October 27, 2013

An Intro to Shader Writing

So lately, I've been learning how to do shader writing.  What does that mean?  Well for anyone who uses Maya (or any other 3D software), the shader is the thing that lets you apply a texture or color to your geometry, and interacts with the lights in the scene, such as spec highlights, diffuse, glow, incandescence, etc...  Lambert, Phong, Blinn, and Phong E are all examples of shaders.  What I am just starting to learn is how to write my own shaders.  Eventually, I can even set these up so you can plug in the variables for the Maya users to adjust, to make it user friendly.
Right now, it really just looks like a grid, well a weave at this point, which isn't like any other shader I just mentioned.  It has none of the light-interaction controls yet, and the other shaders don't control patterns like this one does.  However, this is just a learning tool.
It has been really fun to program so far, and there is still more to do on it, but I figured I'd post what I have so far and let people see.  I plan to add more colors, and maybe another pattern to this.  We'll see how it turns out.

In other news, I have been doing some serious Photoshop editing, but I'll go into that on another post.  The long and short of it is, I haven't really learned any new tools in Photoshop since I started, but I did learn some techniques I have never used before (which is what i was hoping to learn).  I kind of wish I could take their advanced Photoshop class to really dive into it.  We'll see.

No comments:

Post a Comment