Go to: Related nodes. Attributes.
Texture2d is the base node from which all the 2d texture
nodes derive. Here you will find all the attributes that are common
to all 2d textures.
In the table below, important attributes have their names shown in
bold in the description column.
This node is abstract
This node is MP safe
Node name |
Parents |
Classification |
MFn type |
Compatible function sets |
texture2d |
shadingDependNode
|
rendernode |
|
|
Related nodes
layeredTexture, envCube, envSphere,
envSky, envBall, envChrome,
bump3d, uvChooser, bump2d,
ramp, file,
cloth, water,
stencil, checker, fractal,
bulge, grid,
mountain, texture3d, projection, cloud,
granite, crater, leather,
stucco, brownian, solidFractal, marble, wood, rock, snow, defaultTextureList, place2dTexture, place3dTexture
Attributes (29)
alphaGain, alphaIsLuminance, alphaOffset, colorGain, colorGainB, colorGainG, colorGainR, colorOffset, colorOffsetB, colorOffsetG, colorOffsetR, defaultColor, defaultColorB, defaultColorG, defaultColorR, filter, filterOffset, invert, outAlpha,
outColor, outColorB, outColorG, outColorR, uCoord,
uvCoord, uvFilterSize, uvFilterSizeX, uvFilterSizeY, vCoord
Long name (short name) |
Type |
Default |
Flags |
|
uvCoord
(uv ) |
float2 |
0.0, 0.0 |
|
|
|
|
uvFilterSize
(fs ) |
float2 |
0.0, 0.0 |
|
|
uvFilterSizeX
(fsx ) |
float |
0.0 |
|
|
|
uvFilterSizeY
(fsy ) |
float |
0.0 |
|
|
|
filter
(f ) |
float |
1.0 |
|
|
filterOffset
(fo ) |
float |
0.0 |
|
|
invert
(i ) |
bool |
false |
|
|
alphaIsLuminance
(ail ) |
bool |
false |
|
|
colorGain
(cg ) |
float3 |
1.0, 1.0, 1.0 |
|
|
colorGainR
(cgr ) |
float |
0.0 |
|
|
|
colorGainG
(cgg ) |
float |
0.0 |
|
|
|
colorGainB
(cgb ) |
float |
0.0 |
|
|
|
colorOffset
(co ) |
float3 |
0.0, 0.0, 0.0 |
|
|
colorOffsetR
(cor ) |
float |
0.0 |
|
|
|
colorOffsetG
(cog ) |
float |
0.0 |
|
|
|
colorOffsetB
(cob ) |
float |
0.0 |
|
|
|
alphaGain
(ag ) |
float |
1.0 |
|
|
alphaOffset
(ao ) |
float |
0.0 |
|
|
defaultColor
(dc ) |
float3 |
0.5, 0.5, 0.5 |
|
|
defaultColorR
(dcr ) |
float |
0.0 |
|
|
|
defaultColorG
(dcg ) |
float |
0.0 |
|
|
|
defaultColorB
(dcb ) |
float |
0.0 |
|
|
|
outColor
(oc ) |
float3 |
0.0, 0.0, 0.0 |
|
|
outColorR
(ocr ) |
float |
0.0 |
|
|
|
outColorG
(ocg ) |
float |
0.0 |
|
|
|
outColorB
(ocb ) |
float |
0.0 |
|
|
|
outAlpha
(oa ) |
float |
0.0 |
|