UV pass shader
5 Comments
Page 1 of 1
Hi Amigos,
This tutorial gives you knowledge on the concept of UV pass shader. UV pass shader is used to render UV pass which will be used in compositing to modify texture of the selected object.
To start, We will try to understand the concept of UV's in Maya
above picture is UV layout in maya is a 2d graph. The texture which you connect to shader wraps over the geometry based on the UV's placement in the above space. Here we got two axis U and V. U is represented by Red color and V is represented by green color. If the color is black it means it is 0 point on specific axis. If the value of color is 1 it's placement is 1 point in the UV space on specific axis.
Using this concept we create a map.
U image gives value from 0 to 1 (left to right), V image gives value from 0 to 1 (bottom to top). When we add this we get map for UV pass shader.
Using the above concept, We will see how to create shader in maya
Create surface shader to get flat shading. Create two ramps and a layered texture.
Rename surface shader as UV pass shader, ramps as Umap and Vmap and layered texture as UandVmap.
Select Umap and set type to U Ramp. Create only two colors in the ramp. select one color set the selected color to black(0,0,0) and selected position to 0. select another color and set selected color to red(255,0,0), and selected postion to 1.
Select Vmap and set type to V Ramp. Create only two colors in the ramp. select one color set the selected color to black(0,0,0) and selected position to 0. select another color and set selected color to green(0,255,0), and selected postion to 1.
Now Middle mouse drag and drop U ramp and V ramp in layered texture. U ramp should be top layer and set the blend mode to ADD. Now connect the layered texture to surface shaders out color.
That is it UV pass shader. Hope you like it.
This tutorial gives you knowledge on the concept of UV pass shader. UV pass shader is used to render UV pass which will be used in compositing to modify texture of the selected object.
To start, We will try to understand the concept of UV's in Maya
above picture is UV layout in maya is a 2d graph. The texture which you connect to shader wraps over the geometry based on the UV's placement in the above space. Here we got two axis U and V. U is represented by Red color and V is represented by green color. If the color is black it means it is 0 point on specific axis. If the value of color is 1 it's placement is 1 point in the UV space on specific axis.
Using this concept we create a map.
U image gives value from 0 to 1 (left to right), V image gives value from 0 to 1 (bottom to top). When we add this we get map for UV pass shader.
Using the above concept, We will see how to create shader in maya
Create surface shader to get flat shading. Create two ramps and a layered texture.
Rename surface shader as UV pass shader, ramps as Umap and Vmap and layered texture as UandVmap.
Select Umap and set type to U Ramp. Create only two colors in the ramp. select one color set the selected color to black(0,0,0) and selected position to 0. select another color and set selected color to red(255,0,0), and selected postion to 1.
Select Vmap and set type to V Ramp. Create only two colors in the ramp. select one color set the selected color to black(0,0,0) and selected position to 0. select another color and set selected color to green(0,255,0), and selected postion to 1.
Now Middle mouse drag and drop U ramp and V ramp in layered texture. U ramp should be top layer and set the blend mode to ADD. Now connect the layered texture to surface shaders out color.
That is it UV pass shader. Hope you like it.
Page 1 of 1
Author: vishal rein
Submitted: 2013-07-09 23:22:33 UTC
Tags: render passes, texturing, post production, and shaders
Software: Maya
Views: 10,932
Related Items
-
Render Window / viewport Batch Render Script for Maya 1.0.0 (maya script)
$20.00 (USD) -
Vray Exterior Lighting Daylight Settings - rendering forest scene 3D Model
$39.99 (USD) -
'The General' Toy Train 3D Model
$115.00 (USD) -
Vray Night Lighting Scene Rendering Modern House 3D Model
$49.99 (USD) -
SUPER GENERAL PORTABLE AC WHITE 3D Model
$14.99 (USD) -
Sconce Light 3D Model
$27.00 (USD) -
Virtual TV Entertainment Set 1 3D Model
$49.00 (USD) -
Auto Focuser for Maya 0.2.0 (maya script)
$25.00 (USD) -
Autoshader 1.0.0 for Maya (maya script)
$20.00 (USD)