Home Technical Talk

Maya Viewport Shader

Hola, I made a Viewport shader for Maya.

Currently it supports all the usual textures (spec, diffuse, normal map), plus a binormal switch for the normal map that makes your UDK-normal maps look good too. There is no gloss map support yet.

There are two point lights which will require some further tweaking by me. But they work for two point lighting.

The ambient is perhaps not what one would expect because I multiply it with the diffuse first. But it looks much better than a boring constant ambient term.

[vv]50716940[/vv]

Planned features are reflection/cubemap support and some kind of IBL (don't hold me on that last one though :)).

You can play with it here:
https://github.com/skurmedel/shaders

Comments, critique very welcome.

Thanks to Mr. Petterson for lending me the barrel.

Replies

Sign In or Register to comment.