All my shaders got an update, hopefully I wont have to do that again for a while. Blog Post: http://blog.leocov.com/2010/09/maya-realtime-shaders-big-update.html Download Link: http://blog.leocov.com/p/downloads.html Have Fun!
For the interested - I've been having a ton of fun experimenting with new shaders after reading John Hable's Siggraph 2010 presentation on Uncharted 2 - I have a skin shader and a hair shader using techniques touched on in the presentation. check them out. FYI - they might be a little raw - code is fresh off the grill and…
He saw what he had created and knew . . . it was a MONSTER - dum dum dum Goals: 1. Create a useful Maya viewport shader with many functions and techniques to showcase a wide range of surface properties 2. Write a Shader with a compartmentalized structure that is easy to read and dissect for people learning to code. This…
Update 1.2 Fixed some more typecasting issues Toon and LitSphere update - now they multiply by the diffuse texture - you can modulate the amount of diffuse texture by changing the diffuse color value (0-1 B&W only, no tinting). The multiplication operation of the toon ramp and diffuse texture looks best with a greyscale…
@Hazerdous Thats quite a compliment, thanks - Xoliul's shader is really finely tuned (and 3dsmax's shadow support is a killer feature). I see this shader more as a technical exploration and as a learning tool, which is why I've separated all the core shading functions out into compact sections to help other people learn…
@funshark after some more thought I'm thinking its probably some slight differences in cgc.exe (Cg Compiler) between Maya versions - I only have 2009 for testing Anyway - upadate to v1.1 download link in first post - probably will still give you at least one blocking compile error (crosses fingers)
@funshark for whatever reason your system is being extremely picky with code semantics at compile. Probably something to do with the Quadro and its fancier OpenGL drivers. I can defiantly fix those errors, although its a bit hard to test since no system I have gives those. The reason you can still choose some of the…