Download:
lcUberShader_1.4.cgfx
Updates:
Gloss Blurring Amount: – this attribute controls the blurring on the cube map reflections – previously it was default = 1.0, now it is default = 0.0. At 0.0 there is no blurring on the cubemap, even with a specular.a gloss map, but the added benefit is that if you don't have a specular.a gloss map you can still blur your cubemap, whereas before it was not possible.
Shadow Map Texture: - this is for a baked shadow map, and can use its own UV set, by default its the same UV set but you can change this under the shaders ‘Vertex Data’ rollout. Just set TexCoord2 to use something different. This is helpful because you can bake the shadows on a texture sheet that combines all your objects into one UV layout. This avoids the labor of multiple bakes.
![shadowMap[1] shadowMap[1]](http://lh6.ggpht.com/_ondEZc7yU8s/TDDU7jR_m-I/AAAAAAAAAQo/2GrYmK6VIIg/shadowMap%5B1%5D%5B9%5D.jpg?imgmax=800)
Maya 2011: – added an empty dummy technique to the end of the techniques list, this is a temporary hacky fix for a problem in Maya 2011 where the radio buttons don’t work properly for technique selection.

17 comments: