Difference between revisions of "Phong MAT"

From Derivative
Jump to navigation Jump to search
(officializing)
Tag: 2021.10000
 
(47 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{Summary
 +
|opFilter=False
 +
|opLabel=Phong
 +
|opFamily=MAT
 +
|long=The Phong MAT creates a material using the Phong Shading model. It has support for textures, reflections, bumps, cone lights, rim lights, alpha maps and more. You can output its [[:Category:GLSL|GLSL shader]] into two [[DAT]]s for further adaptation in a [[GLSL MAT]] by using the Output Shader parameter.
 +
 +
Phong Shading models three types of reflected light:
 +
 +
* Ambient - Ambient is considered light that does not come from any particular direction and is therefore constant across the surface. In the physical world, ambient light is created from the reflection of light off surfaces in the environment.
 +
* Diffuse - Diffuse models the light reflected by matte surfaces. This light is reflected equally in all directions, therefore the position of the observer does not effect the percieved illumination.
 +
* Specular - Specular models the light reflected by glossy surfaces. This light is reflected mainly in the direction of the reflected ray and is attenuated by the 'shiny-ness' of an object. Since the light reflected from the surface is mainly in the direction of the reflected ray, the position of the observer determines the specular highlight on the surface.
 +
 +
<blockquote>
 +
'''NOTE:''' We see the color of an object because of the color of light that the material reflects.
 +
</blockquote>
 +
 +
Phong Shading produces very nice specular highlights, although it is still an approximation and not physically accurate.  Contrasting with the Gouraud shading model that calculates the lighting at each vertex and interpolates the value across the polygon, Phong calculates the lighting at each pixel.
  
{{Summary|OPfamily=MAT|OPtype=phong|OPlabel=Phong|OPlicense=Non-Commercial|OPclass=phongMAT_Class|OPfilter=False
+
To see how all of the different parts are summed together by looking at the [[Phong Lighting Equation]] article.
 
+
|opClass=phongMAT_Class
|short=
+
|short=The Phong MAT creates a material using the Phong Shading model.
 
+
|opType=phong
|long=
+
|opLicense=Non-Commercial
 
+
}}
}}
+
{{ParameterPage
+
|pageName=RGB
{{ParameterPage|Pagename=RGB|OPfamily=MAT|items=
+
|pageSummary=
 
+
|opFamily=MAT
+
|items={{Parameter
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=ambdiff|Parlabel=Ambient uses Diffuse|Parorder=0
+
|parName=ambdiff
 
+
|parLabel=Ambient uses Diffuse
|Parsummary=
+
|opFamily=MAT
 
+
|parSummary=Uses the Diffuse parameter for Ambient when checked.
 +
|parOrder=0
 +
|opType=phong
 +
|parType=Toggle
 +
|parReadOnly=
 +
|parItems=
 +
}}
 +
{{Parameter
 +
|parName=diff
 +
|parLabel=Diffuse
 +
|opFamily=MAT
 +
|parSummary=The color of the diffuse light reflected from the material.
 +
|parItems={{ParameterItem
 +
|itemLabel=Red
 +
|itemSummary=
 +
|itemName=diffr
 +
|opFamily=MAT
 +
|parName=diff
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Green
 +
|itemSummary=
 +
|itemName=diffg
 +
|opFamily=MAT
 +
|parName=diff
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Blue
 +
|itemSummary=
 +
|itemName=diffb
 +
|opFamily=MAT
 +
|parName=diff
 +
}}
 +
|parOrder=1
 +
|opType=phong
 +
|parType=RGB
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=amb
 +
|parLabel=Ambient
 +
|opFamily=MAT
 +
|parSummary=The color of the ambient light reflected from the material.
 +
|parItems={{ParameterItem
 +
|itemLabel=Red
 +
|itemSummary=
 +
|itemName=ambr
 +
|opFamily=MAT
 +
|parName=amb
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Green
 +
|itemSummary=
 +
|itemName=ambg
 +
|opFamily=MAT
 +
|parName=amb
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Blue
 +
|itemSummary=
 +
|itemName=ambb
 +
|opFamily=MAT
 +
|parName=amb
 +
}}
 +
|parOrder=2
 +
|opType=phong
 +
|parType=RGB
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=spec
 +
|parLabel=Specular
 +
|opFamily=MAT
 +
|parSummary=The color of the specular light reflected from the material. This changes the color of the highlights on shiney objects.
 +
|parItems={{ParameterItem
 +
|itemLabel=Red
 +
|itemSummary=
 +
|itemName=specr
 +
|opFamily=MAT
 +
|parName=spec
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Green
 +
|itemSummary=
 +
|itemName=specg
 +
|opFamily=MAT
 +
|parName=spec
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Blue
 +
|itemSummary=
 +
|itemName=specb
 +
|opFamily=MAT
 +
|parName=spec
 +
}}
 +
|parOrder=3
 +
|opType=phong
 +
|parType=RGB
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=emit
 +
|parLabel=Emit
 +
|opFamily=MAT
 +
|parSummary=This is the color that the material will emit even if there is no light.
 +
|parItems={{ParameterItem
 +
|itemLabel=Red
 +
|itemSummary=
 +
|itemName=emitr
 +
|opFamily=MAT
 +
|parName=emit
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Green
 +
|itemSummary=
 +
|itemName=emitg
 +
|opFamily=MAT
 +
|parName=emit
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Blue
 +
|itemSummary=
 +
|itemName=emitb
 +
|opFamily=MAT
 +
|parName=emit
 +
}}
 +
|parOrder=4
 +
|opType=phong
 +
|parType=RGB
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=constant
 +
|parLabel=Constant
 +
|opFamily=MAT
 +
|parSummary=Adds to the final color. Where there are point colors, finalcolor += Point Color * Constant Color. This behaves like there is ambient illumination of 1 1 1. It is not affected by textures or transparency.
 +
|parItems={{ParameterItem
 +
|itemLabel=Red
 +
|itemSummary=
 +
|itemName=constantr
 +
|opFamily=MAT
 +
|parName=constant
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Green
 +
|itemSummary=
 +
|itemName=constantg
 +
|opFamily=MAT
 +
|parName=constant
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Blue
 +
|itemSummary=
 +
|itemName=constantb
 +
|opFamily=MAT
 +
|parName=constant
 +
}}
 +
|parOrder=5
 +
|opType=phong
 +
|parType=RGB
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=shininess
 +
|parLabel=Shininess
 +
|opFamily=MAT
 +
|parSummary=Controls the specular highlights (glossyness) of an object. Higher settings are more glossy, like plastic or shiny metal. Lower settings give more of a matte finish.
 +
|parOrder=6
 +
|opType=phong
 +
|parType=Float
 +
|parReadOnly=
 +
|parItems=
 +
}}
 +
{{Parameter
 +
|parName=colormap
 +
|parLabel=Color Map
 +
|opFamily=MAT
 +
|parSummary=Specifies a TOP texture that is multiplied by the results of all of the lighting calculations. The alpha of this map is used as a part of calculating the objects alpha.  Clicking on the arrows to the right of the map field will open the [[Texture Sampling Parameters]] for Color Map.  The other Map parameters below will have their own Texture Sampling Parameters as well.
 +
|parItems={{Parameter
 +
|parName=colormapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=colormapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=colormapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=colormapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=colormapextendu
 +
}}
 +
|parOrder=8
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=colormapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=colormapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=colormapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=colormapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=colormapextendv
 +
}}
 +
|parOrder=9
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=colormapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=colormapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=colormapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=colormapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=colormapextendw
 +
}}
 +
|parOrder=10
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=colormapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=colormapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=colormapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=colormapfilter
 +
}}
 +
|parOrder=11
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=colormapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=colormapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=colormapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=colormapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=colormapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=colormapanisotropy
 +
}}
 +
|parOrder=12
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=colormapcoord
 +
|parLabel=Texture Coord
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=colormapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=colormapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=colormapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=colormapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=colormapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=colormapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=colormapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=colormapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=colormapcoord
 +
}}
 +
|parOrder=13
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=colormapcoordinterp
 +
|parLabel=Coord Interpolation
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=colormapcoordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=colormapcoordinterp
 +
}}
 +
|parOrder=14
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|parOrder=7
 +
|opType=phong
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=normalmap
 +
|parLabel=Normal Map (Bump)
 +
|opFamily=MAT
 +
|parSummary=Uses a [[Normal Map TOP|Normal Map]] from TOPs to create a 'bump map' effect. Bump-mapping simulates bumps or wrinkles in a surface to give it a 3D depth effect. '''Your geometry must have tangent attributes created for this feature to work (T[4]). Create these using the [[Attribute Create SOP]].'''
 +
|parItems={{Parameter
 +
|parName=normalmapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=normalmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=normalmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=normalmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=normalmapextendu
 +
}}
 +
|parOrder=16
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=normalmapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=normalmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=normalmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=normalmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=normalmapextendv
 +
}}
 +
|parOrder=17
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=normalmapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=normalmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=normalmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=normalmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=normalmapextendw
 +
}}
 +
|parOrder=18
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=normalmapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=normalmapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=normalmapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=normalmapfilter
 +
}}
 +
|parOrder=19
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=normalmapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=normalmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=normalmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=normalmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=normalmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=normalmapanisotropy
 +
}}
 +
|parOrder=20
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=normalmapcoord
 +
|parLabel=Texture Coord
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=normalmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=normalmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=normalmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=normalmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=normalmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=normalmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=normalmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=normalmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=normalmapcoord
 +
}}
 +
|parOrder=21
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=normalmapcoordinterp
 +
|parLabel=Coord Interpolation
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=normalmapcoordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=normalmapcoordinterp
 +
}}
 +
|parOrder=22
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|parOrder=15
 +
|opType=phong
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=bumpscale
 +
|parLabel=Bump Scale
 +
|opFamily=MAT
 +
|parSummary=A multiplier for the 'bump effect' created by the Normal Map parameter.
 +
|parOrder=23
 +
|opType=phong
 +
|parType=Float
 +
|parReadOnly=
 +
|parItems=
 +
}}
 +
{{Parameter
 +
|parSummary=Enables height mapping.
 +
|parLabel=Enable Height Map
 +
|opFamily=MAT
 +
|parName=heightmapenable
 +
|opType=pbr
 +
|parOrder=24
 +
|parType=Toggle
 +
|parReadOnly=
 +
|parItems=
 +
}}
 +
{{Parameter
 +
|parOrder=25
 +
|parSummary=Specifies a height texture map. The height map is used in conjunction with the normal map to perform parallax mapping.
 +
|parLabel=Height Map
 +
|parItems={{Parameter
 +
|parOrder=26
 +
|parSummary=
 +
|parLabel=Extend U
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|opFamily=MAT
 +
|itemName=hold
 +
|parName=heightmapextendu
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|opFamily=MAT
 +
|itemName=zero
 +
|parName=heightmapextendu
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|opFamily=MAT
 +
|itemName=repeat
 +
|parName=heightmapextendu
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|opFamily=MAT
 +
|itemName=mirror
 +
|parName=heightmapextendu
 +
|itemSummary=
 +
}}
 +
|opFamily=MAT
 +
|opType=pbr
 +
|parName=heightmapextendu
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parOrder=27
 +
|parSummary=
 +
|parLabel=Extend V
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|opFamily=MAT
 +
|itemName=hold
 +
|parName=heightmapextendv
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|opFamily=MAT
 +
|itemName=zero
 +
|parName=heightmapextendv
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|opFamily=MAT
 +
|itemName=repeat
 +
|parName=heightmapextendv
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|opFamily=MAT
 +
|itemName=mirror
 +
|parName=heightmapextendv
 +
|itemSummary=
 +
}}
 +
|opFamily=MAT
 +
|opType=pbr
 +
|parName=heightmapextendv
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parOrder=28
 +
|parSummary=
 +
|parLabel=Extend W
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|opFamily=MAT
 +
|itemName=hold
 +
|parName=heightmapextendw
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|opFamily=MAT
 +
|itemName=zero
 +
|parName=heightmapextendw
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|opFamily=MAT
 +
|itemName=repeat
 +
|parName=heightmapextendw
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|opFamily=MAT
 +
|itemName=mirror
 +
|parName=heightmapextendw
 +
|itemSummary=
 +
}}
 +
|opFamily=MAT
 +
|opType=pbr
 +
|parName=heightmapextendw
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parOrder=29
 +
|parSummary=
 +
|parLabel=Filter
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|opFamily=MAT
 +
|itemName=nearest
 +
|parName=heightmapfilter
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|opFamily=MAT
 +
|itemName=linear
 +
|parName=heightmapfilter
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|opFamily=MAT
 +
|itemName=mipmaplinear
 +
|parName=heightmapfilter
 +
|itemSummary=
 +
}}
 +
|opFamily=MAT
 +
|opType=pbr
 +
|parName=heightmapfilter
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parOrder=30
 +
|parSummary=
 +
|parLabel=Anisotropic Filter
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|opFamily=MAT
 +
|itemName=off
 +
|parName=heightmapanisotropy
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|opFamily=MAT
 +
|itemName=2x
 +
|parName=heightmapanisotropy
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|opFamily=MAT
 +
|itemName=4x
 +
|parName=heightmapanisotropy
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|opFamily=MAT
 +
|itemName=8x
 +
|parName=heightmapanisotropy
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|opFamily=MAT
 +
|itemName=16x
 +
|parName=heightmapanisotropy
 +
|itemSummary=
 +
}}
 +
|opFamily=MAT
 +
|opType=pbr
 +
|parName=heightmapanisotropy
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parOrder=31
 +
|parSummary=
 +
|parLabel=Texture Coord
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|opFamily=MAT
 +
|itemName=uv0
 +
|parName=heightmapcoord
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|opFamily=MAT
 +
|itemName=uv1
 +
|parName=heightmapcoord
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|opFamily=MAT
 +
|itemName=uv2
 +
|parName=heightmapcoord
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|opFamily=MAT
 +
|itemName=uv3
 +
|parName=heightmapcoord
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|opFamily=MAT
 +
|itemName=uv4
 +
|parName=heightmapcoord
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|opFamily=MAT
 +
|itemName=uv5
 +
|parName=heightmapcoord
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|opFamily=MAT
 +
|itemName=uv6
 +
|parName=heightmapcoord
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|opFamily=MAT
 +
|itemName=uv7
 +
|parName=heightmapcoord
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|opFamily=MAT
 +
|itemName=screenspace
 +
|parName=heightmapcoord
 +
|itemSummary=
 +
}}
 +
|opFamily=MAT
 +
|opType=pbr
 +
|parName=heightmapcoord
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parOrder=32
 +
|parSummary=
 +
|parLabel=Coord Interpolation
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|opFamily=MAT
 +
|itemName=perspectivecorrect
 +
|parName=heightmapcoordinterp
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|opFamily=MAT
 +
|itemName=linear
 +
|parName=heightmapcoordinterp
 +
|itemSummary=
 +
}}
 +
|opFamily=MAT
 +
|opType=pbr
 +
|parName=heightmapcoordinterp
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parOrder=33
 +
|parSummary=
 +
|parLabel=Channel Source
 +
|parItems={{ParameterItem
 +
|itemLabel=Luminance
 +
|opFamily=MAT
 +
|itemName=luminance
 +
|parName=heightmapchannelsource
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Red
 +
|opFamily=MAT
 +
|itemName=red
 +
|parName=heightmapchannelsource
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Green
 +
|opFamily=MAT
 +
|itemName=green
 +
|parName=heightmapchannelsource
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Blue
 +
|opFamily=MAT
 +
|itemName=blue
 +
|parName=heightmapchannelsource
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Alpha
 +
|opFamily=MAT
 +
|itemName=alpha
 +
|parName=heightmapchannelsource
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=RGB Average
 +
|opFamily=MAT
 +
|itemName=rgbaverage
 +
|parName=heightmapchannelsource
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=RGBA Average
 +
|opFamily=MAT
 +
|itemName=average
 +
|parName=heightmapchannelsource
 +
|itemSummary=
 +
}}
 +
|opFamily=MAT
 +
|opType=pbr
 +
|parName=heightmapchannelsource
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|opFamily=MAT
 +
|opType=pbr
 +
|parName=heightmap
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|opFamily=MAT
 +
|opType=phongMAT
 +
|parLabel=Parallax Scale
 +
|parName=parallaxscale
 +
|parType=Float
 +
|parReadOnly=
 +
|parOrder=34
 +
|parSummary=Scale value applied to the height map. Can be used to increase or exaggerate the effect.
 +
|parItems=
 +
}}
 +
{{Parameter
 +
|parSummary=Enables parallax occlusion, an enhancement of the parallax mapping technique used with the height map. Parallax occlusion improves the quality of the texture offsetting in parallax mapping so that the higher parts of the height map appear to occlude the lower parts, giving a better illusion of height.
 +
|parLabel=Parallax Occlusion
 +
|opFamily=MAT
 +
|parName=parallaxocclusion
 +
|opType=pbr
 +
|parOrder=35
 +
|parType=Toggle
 +
|parReadOnly=
 +
|parItems=
 +
}}
 +
{{Parameter
 +
|opFamily=MAT
 +
|opType=phongMAT
 +
|parLabel=Displace Vertices
 +
|parName=displaceverts
 +
|parType=Toggle
 +
|parReadOnly=
 +
|parOrder=36
 +
|parSummary=When Enable Height Map above is On, setting Displace Vertices to On will enable true displacement mapping where the vertices of the geometry are displaced based on the Height Map texture and the parameters below.
 +
|parItems=
 +
}}
 +
{{Parameter
 +
|opFamily=MAT
 +
|opType=phongMAT
 +
|parLabel=Displace Scale
 +
|parName=displacescale
 +
|parType=Float
 +
|parReadOnly=
 +
|parOrder=37
 +
|parSummary=A multiplier for the displacement amount.
 +
|parItems=
 +
}}
 +
{{Parameter
 +
|opFamily=MAT
 +
|opType=phongMAT
 +
|parLabel=Displace Midpoint
 +
|parName=displacemid
 +
|parType=Float
 +
|parReadOnly=
 +
|parOrder=38
 +
|parSummary=Sets the middle point of displacement map as the start position for the displacement effect.
 +
|parItems=
 +
}}
 +
{{Parameter
 +
|parName=diffusemap
 +
|parLabel=Diffuse Map
 +
|opFamily=MAT
 +
|parSummary=Specifies a TOP that multiples the Diffuse Color. The object must have texture coordinates. The alpha of this map is ignored.
 +
|parItems={{Parameter
 +
|parName=diffusemapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=diffusemapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=diffusemapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=diffusemapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=diffusemapextendu
 +
}}
 +
|parOrder=40
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=diffusemapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=diffusemapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=diffusemapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=diffusemapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=diffusemapextendv
 +
}}
 +
|parOrder=41
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=diffusemapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=diffusemapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=diffusemapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=diffusemapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=diffusemapextendw
 +
}}
 +
|parOrder=42
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=diffusemapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=diffusemapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=diffusemapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=diffusemapfilter
 +
}}
 +
|parOrder=43
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=diffusemapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=diffusemapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=diffusemapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=diffusemapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=diffusemapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=diffusemapanisotropy
 +
}}
 +
|parOrder=44
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=diffusemapcoord
 +
|parLabel=Texture Coord
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=diffusemapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=diffusemapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=diffusemapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=diffusemapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=diffusemapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=diffusemapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=diffusemapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=diffusemapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=diffusemapcoord
 +
}}
 +
|parOrder=45
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=diffusemapcoordinterp
 +
|parLabel=Coord Interpolation
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=diffusemapcoordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=diffusemapcoordinterp
 +
}}
 +
|parOrder=46
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|parOrder=39
 +
|opType=phong
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=specmap
 +
|parLabel=Specular Map
 +
|opFamily=MAT
 +
|parSummary=Specifies a TOP texture that is multiplied with the Specular color parameter of the material. The object must have texture coordinates. The alpha of this map is ignored.
 +
|parItems={{Parameter
 +
|parName=specmapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=specmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=specmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=specmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=specmapextendu
 +
}}
 +
|parOrder=48
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=specmapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=specmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=specmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=specmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=specmapextendv
 +
}}
 +
|parOrder=49
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=specmapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=specmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=specmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=specmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=specmapextendw
 +
}}
 +
|parOrder=50
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=specmapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=specmapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=specmapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=specmapfilter
 +
}}
 +
|parOrder=51
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=specmapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=specmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=specmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=specmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=specmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=specmapanisotropy
 +
}}
 +
|parOrder=52
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=specmapcoord
 +
|parLabel=Texture Coord
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=specmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=specmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=specmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=specmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=specmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=specmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=specmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=specmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=specmapcoord
 +
}}
 +
|parOrder=53
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=specmapcoordinterp
 +
|parLabel=Coord Interpolation
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=specmapcoordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=specmapcoordinterp
 +
}}
 +
|parOrder=54
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|parOrder=47
 +
|opType=phong
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=emitmap
 +
|parLabel=Emit Map
 +
|opFamily=MAT
 +
|parSummary=Specifies a TOP texture that is multiplied with the Emit color parameter of the material. The object must have texture coordinates. The alpha of this map is ignored.
 +
|parItems={{Parameter
 +
|parName=emitmapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=emitmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=emitmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=emitmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=emitmapextendu
 +
}}
 +
|parOrder=56
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=emitmapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=emitmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=emitmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=emitmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=emitmapextendv
 +
}}
 +
|parOrder=57
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=emitmapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=emitmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=emitmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=emitmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=emitmapextendw
 +
}}
 +
|parOrder=58
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=emitmapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=emitmapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=emitmapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=emitmapfilter
 +
}}
 +
|parOrder=59
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=emitmapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=emitmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=emitmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=emitmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=emitmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=emitmapanisotropy
 +
}}
 +
|parOrder=60
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=emitmapcoord
 +
|parLabel=Texture Coord
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=emitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=emitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=emitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=emitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=emitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=emitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=emitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=emitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=emitmapcoord
 +
}}
 +
|parOrder=61
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=emitmapcoordinterp
 +
|parLabel=Coord Interpolation
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=emitmapcoordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=emitmapcoordinterp
 +
}}
 +
|parOrder=62
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|parOrder=55
 +
|opType=phong
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=envmap
 +
|parLabel=Environment Map
 +
|opFamily=MAT
 +
|parSummary=Uses a TOP texture to define an environment map for the material. Environment mapping simulates an object reflecting its surroundings. The TOP defined in this parameter is the texture that will be reflected. The Env Map is added to whatever the normal lighting will be, so to make an object purely reflective turn the Diffuse and Specular parameters to 0. This input expects a sphere map. An example of a sphere map can be found [http://debevec.org/Probes/campus_probe.jpg here]. This input will also accept a cube map, created with the [[Cube Map TOP]] or the [[Render TOP]]'s Render Cube Map parameter.
 +
|parItems={{Parameter
 +
|parName=envmapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=envmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=envmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=envmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=envmapextendu
 +
}}
 +
|parOrder=64
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=envmapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=envmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=envmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=envmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=envmapextendv
 +
}}
 +
|parOrder=65
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=envmapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=envmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=envmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=envmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=envmapextendw
 +
}}
 +
|parOrder=66
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=envmapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=envmapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=envmapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=envmapfilter
 +
}}
 +
|parOrder=67
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=envmapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=envmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=envmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=envmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=envmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=envmapanisotropy
 +
}}
 +
|parOrder=68
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|parOrder=63
 +
|opType=phong
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=envmapcolor
 +
|parLabel=Environment Map Color
 +
|opFamily=MAT
 +
|parSummary=This color is multiplied with the texture specified by the <span class="tipTextMAT">Environment Map</span> parameter above.
 +
|parItems={{ParameterItem
 +
|itemLabel=Red
 +
|itemSummary=
 +
|itemName=envmapcolorr
 +
|opFamily=MAT
 +
|parName=envmapcolor
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Green
 +
|itemSummary=
 +
|itemName=envmapcolorg
 +
|opFamily=MAT
 +
|parName=envmapcolor
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Blue
 +
|itemSummary=
 +
|itemName=envmapcolorb
 +
|opFamily=MAT
 +
|parName=envmapcolor
 +
}}
 +
|parOrder=69
 +
|opType=phong
 +
|parType=RGB
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=envmaprotate
 +
|parLabel=Environment Map Rotate
 +
|opFamily=MAT
 +
|parSummary=Rotate the texture specified by the <span class="tipTextMAT">Environment Map</span> parameter above.
 +
|parItems={{ParameterItem
 +
|itemLabel=X
 +
|itemSummary=
 +
|itemName=envmaprotatex
 +
|opFamily=MAT
 +
|parName=envmaprotate
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Y
 +
|itemSummary=
 +
|itemName=envmaprotatey
 +
|opFamily=MAT
 +
|parName=envmaprotate
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Z
 +
|itemSummary=
 +
|itemName=envmaprotatez
 +
|opFamily=MAT
 +
|parName=envmaprotate
 +
}}
 +
|parOrder=70
 +
|opType=phong
 +
|parType=XYZ
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|opFamily=MAT
 +
|opType=phongMAT
 +
|parLabel=Environment Map 2D Type
 +
|parName=envmaptype2d
 +
|parType=Menu
 +
|parReadOnly=
 +
|parOrder=71
 +
|parSummary=Select between using a sphere map or an equirectangular map as the Environment Map type.
 +
|parItems={{ParameterItem
 +
|opFamily=MAT
 +
|parName=envmaptype2d
 +
|itemLabel=Sphere Map
 +
|itemName=spheremap
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=envmaptype2d
 +
|itemLabel=Equirectangular
 +
|itemName=equirect
 +
|itemSummary=
 +
}}
 +
}}
 +
{{Parameter
 +
|parName=frontfacelit
 +
|parLabel=Polygon Front Faces
 +
|opFamily=MAT
 +
|parSummary=Controls how the polygon's normal is used to light the front face of the polygon. For more information refer to the [[Two-Sided Lighting]] article.
 +
|parItems={{ParameterItem
 +
|itemLabel=Use Per-Light(s) Parameter
 +
|itemSummary=
 +
|itemName=uselight
 +
|opFamily=MAT
 +
|parName=frontfacelit
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Front Lit
 +
|itemSummary=
 +
|itemName=frontlit
 +
|opFamily=MAT
 +
|parName=frontfacelit
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Back Lit
 +
|itemSummary=
 +
|itemName=backlit
 +
|opFamily=MAT
 +
|parName=frontfacelit
 +
}}
 +
|parOrder=72
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=backfacelit
 +
|parLabel=Polygon Back Faces
 +
|opFamily=MAT
 +
|parSummary=Controls how the polygon's normal is used to light the back face of the polygon. For more information refer to the [[Two-Sided Lighting]] article.
 +
|parItems={{ParameterItem
 +
|itemLabel=Use Per-Light(s) Parameter
 +
|itemSummary=
 +
|itemName=uselight
 +
|opFamily=MAT
 +
|parName=backfacelit
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Front Lit
 +
|itemSummary=
 +
|itemName=frontlit
 +
|opFamily=MAT
 +
|parName=backfacelit
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Back Lit
 +
|itemSummary=
 +
|itemName=backlit
 +
|opFamily=MAT
 +
|parName=backfacelit
 +
}}
 +
|parOrder=73
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=outputshader
 +
|parLabel=Output Shader...
 +
|opFamily=MAT
 +
|parSummary=This button will bring up a dialog that will create a [[GLSL MAT]] and [[Text DAT]]s with shader code that matches whatever effect this Phong MAT is currently creating. Since shaders are dependent on the number and type of lights, it will list some possible different shader choices, based on what lighting configurations have been used in the current system. '''If no shaders are listed in the dialog''', it means no shader has been rendered in the current session of TouchDesigner. Turn on the viewer for the Phong MAT, or setup a render in a Render TOP. That will create/compile some shaders and will cause the list to be populated. For example if you want to see a shader that does shadow mapping, setup a render that does shadow mapping and you will see that come up in the list.
 +
|parOrder=74
 +
|opType=phong
 +
|parType=Pulse
 +
|parReadOnly=
 +
|parItems=
 +
}}
 +
}}
 +
{{ParameterPage
 +
|pageName=Alpha
 +
|pageSummary=''' Note: Simply applying alpha to an object does not make it transparent. For more information refer to the [[Transparency]] article.'''
 +
|opFamily=MAT
 +
|items={{Parameter
 +
|parName=alphamap
 +
|parLabel=Alpha Map
 +
|opFamily=MAT
 +
|parSummary=This map multiplies the alpha of the object. It uses the red channel of the map, other channels are ignored.
 +
|parItems={{Parameter
 +
|parName=alphamapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=alphamapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=alphamapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=alphamapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=alphamapextendu
 +
}}
 +
|parOrder=1
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=alphamapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=alphamapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=alphamapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=alphamapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=alphamapextendv
 +
}}
 +
|parOrder=2
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=alphamapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=alphamapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=alphamapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=alphamapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=alphamapextendw
 +
}}
 +
|parOrder=3
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=alphamapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=alphamapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=alphamapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=alphamapfilter
 +
}}
 +
|parOrder=4
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=alphamapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=alphamapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=alphamapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=alphamapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=alphamapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=alphamapanisotropy
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=diff|Parlabel=Diffuse|Parorder=1
+
|parOrder=5
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
{{rgbitem|Itemlabel=Red|Itemname=diffr|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Green|Itemname=diffg|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Blue|Itemname=diffb|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=amb|Parlabel=Ambient|Parorder=2
+
{{Parameter
 
+
|parName=alphamapcoord
|Parsummary=
+
|parLabel=Texture Coord
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Texture Layer 0 (uv[0-2])
{{rgbitem|Itemlabel=Red|Itemname=ambr|OPfamily=MAT
+
|itemSummary=
 
+
|itemName=uv0
|Itemsummary=
+
|opFamily=MAT
 
+
|parName=alphamapcoord
}}
+
}}<!--
{{rgbitem|Itemlabel=Green|Itemname=ambg|OPfamily=MAT
+
-->{{ParameterItem
 
+
|itemLabel=Texture Layer 1 (uv[3-5])
|Itemsummary=
+
|itemSummary=
 
+
|itemName=uv1
}}
+
|opFamily=MAT
{{rgbitem|Itemlabel=Blue|Itemname=ambb|OPfamily=MAT
+
|parName=alphamapcoord
 
+
}}<!--
|Itemsummary=
+
-->{{ParameterItem
 
+
|itemLabel=Texture Layer 2 (uv[6-8])
}}
+
|itemSummary=
 
+
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=alphamapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=alphamapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=alphamapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=alphamapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=alphamapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=alphamapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=alphamapcoord
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=spec|Parlabel=Specular|Parorder=3
+
|parOrder=6
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
{{rgbitem|Itemlabel=Red|Itemname=specr|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Green|Itemname=specg|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Blue|Itemname=specb|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=emit|Parlabel=Emit|Parorder=4
+
{{Parameter
 
+
|parName=alphamapcoordinterp
|Parsummary=
+
|parLabel=Coord Interpolation
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Perspective Correct
{{rgbitem|Itemlabel=Red|Itemname=emitr|OPfamily=MAT
+
|itemSummary=
 
+
|itemName=perspectivecorrect
|Itemsummary=
+
|opFamily=MAT
 
+
|parName=alphamapcoordinterp
}}
+
}}<!--
{{rgbitem|Itemlabel=Green|Itemname=emitg|OPfamily=MAT
+
-->{{ParameterItem
 
+
|itemLabel=Linear (noperspective)
|Itemsummary=
+
|itemSummary=
 
+
|itemName=linear
}}
+
|opFamily=MAT
{{rgbitem|Itemlabel=Blue|Itemname=emitb|OPfamily=MAT
+
|parName=alphamapcoordinterp
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=constant|Parlabel=Constant|Parorder=5
+
|parOrder=7
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
{{rgbitem|Itemlabel=Red|Itemname=constantr|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Green|Itemname=constantg|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Blue|Itemname=constantb|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=shininess|Parlabel=Shininess|Parorder=6
+
|parOrder=0
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
}}
 
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=colormap|Parlabel=Color Map|Parorder=7
 
 
 
|Parsummary=
 
 
 
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=normalmap|Parlabel=Normal Map (Bump)|Parorder=15
+
{{Parameter
 
+
|parName=alphamode
|Parsummary=
+
|parLabel=Uniform Alpha
 
+
|opFamily=MAT
 +
|parSummary=Turning this off will make the alpha change depending on orientation of each polygon's normal compared to the camera. Normals that are pointing at the camera will results in the polygon having an alpha of Alpha Front. Normals that are perpendicular to the camera (facing sideways/up/down) will have Alpha Side for their alpha.
 +
|parOrder=8
 +
|opType=phong
 +
|parType=Toggle
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=bumpscale|Parlabel=Bump Scale|Parorder=23
+
{{Parameter
 
+
|parName=alphafront
|Parsummary=
+
|parLabel=Alpha Front
 
+
|opFamily=MAT
}}
+
|parSummary=The opacity of the material. This parameter is multiplied by point alpha of the object (as will as any other alpha source).
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=parallaxmapping|Parlabel=Parallax Mapping|Parorder=24
+
|parOrder=9
 
+
|opType=phong
|Parsummary=
+
|parType=Float
 
+
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=parallaxclamp|Parlabel=Parallax Clamp|Parorder=25
+
{{Parameter
 
+
|parName=alphaside
|Parsummary=
+
|parLabel=Alpha Side
 
+
|opFamily=MAT
}}
+
|parSummary=This is used for non-uniform alpha. It is the alpha value polygons that are facing away from the camera will get.
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=diffusemap|Parlabel=Diffuse Map|Parorder=26
+
|parOrder=10
 
+
|opType=phong
|Parsummary=
+
|parType=Float
 
+
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=specmap|Parlabel=Specular Map|Parorder=34
+
{{Parameter
 
+
|parName=rolloff
|Parsummary=
+
|parLabel=Alpha Rolloff
 
+
|opFamily=MAT
 +
|parSummary=Controls how the alpha changes from Alpha Front to Alpha Side.
 +
|parOrder=11
 +
|opType=phong
 +
|parType=Float
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=emitmap|Parlabel=Emit Map|Parorder=42
+
{{Parameter
 
+
|parName=postmultalpha
|Parsummary=
+
|parLabel=Post-Mult Color by Alpha
 
+
|opFamily=MAT
 +
|parSummary=At the end of all of the calculations, the color (RGB) is multiplied by the calculated alpha. You can stop this from happening by turning off this toggle.
 +
|parOrder=12
 +
|opType=phong
 +
|parType=Toggle
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=envmap|Parlabel=Environment Map|Parorder=50
+
{{Parameter
 
+
|parName=alphamultlight
|Parsummary=
+
|parLabel=Mult Alpha by Light Luminance
 
+
|opFamily=MAT
 +
|parSummary=When this is enabled, the luminance of the lighting will be multiplied by the alpha, to decrease/increase it.
 +
|parOrder=13
 +
|opType=phong
 +
|parType=Toggle
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=envmapcolor|Parlabel=Environment Map Color|Parorder=56
 
 
|Parsummary=
 
 
|Paritems=
 
 
 
{{rgbitem|Itemlabel=Red|Itemname=envmapcolorr|OPfamily=MAT
 
 
|Itemsummary=
 
 
}}
 
{{rgbitem|Itemlabel=Green|Itemname=envmapcolorg|OPfamily=MAT
 
 
|Itemsummary=
 
 
}}
 
{{rgbitem|Itemlabel=Blue|Itemname=envmapcolorb|OPfamily=MAT
 
 
|Itemsummary=
 
 
}}
 
 
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=envmaprotate|Parlabel=Environment Map Rotate|Parorder=57
+
{{ParameterPage
 
+
|pageName=Multi-Texturing
|Parsummary=
+
|pageSummary=On the Multi-texturing page of the Phong material, you can have up to 4 texture maps and choose any of the 8 possible texture coordinates for each map. By default the texture maps are multiplied together, but there is a field for a custom GLSL code that can be used. Here's how that works:
 
+
|Paritems=
+
The 4 texture maps are referred to in the parameter by t0, t1, t2 and t3 respectively. So the default equation if all 4 texture maps are used is: t0 * t1 * t2 * t3. You can use and constants and other math operators, so for example t0 + (t1 * 0.5) is valid. If they refer to a map that doesn't exist, the shader won't compile correctly (e.g. using t3 when it isn't set or the TOP doesn't exist).
 
+
 +
They can also refer to specific components of the texture using .r .g .b and .a. So for example if you want to do t0 over t1, the expression would be:
 +
t0 + (t1 * (1.0 - t0.a))
 +
 +
'''The output from your expression must be a vec4''', so for example:
 +
  t0.rgb + t1.rgb // Error
 +
  vec4(t0.rgb + t1.rgb, 1.0)  // Works
 
 
{{floatitem|Itemlabel=X|Itemname=envmaprotatex|OPfamily=MAT
+
The alpha from the result of these maps is used.
 
+
|opFamily=MAT
|Itemsummary=
+
|items={{Parameter
 
+
|parName=multitexturing
}}
+
|parLabel=Multi-Texturing (Disables Color Map)
{{floatitem|Itemlabel=Y|Itemname=envmaprotatey|OPfamily=MAT
+
|opFamily=MAT
 
+
|parSummary=Enables multi-texturing. This disables the Color Map parameter.
|Itemsummary=
+
|parOrder=0
 
+
|opType=phong
}}
+
|parType=Toggle
{{floatitem|Itemlabel=Z|Itemname=envmaprotatez|OPfamily=MAT
+
|parReadOnly=
 
+
|parItems=
|Itemsummary=
+
}}
 
+
{{Parameter
}}
+
|parName=texture1
 
+
|parLabel=Texture 1
}}
+
|opFamily=MAT
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=frontfacelit|Parlabel=Polygon Front Faces|Parorder=58
+
|parSummary=You can specify up to 4 textures for multi-texturing.
 
+
|parItems={{Parameter
|Parsummary=
+
|parName=texture1mapextendu
 
+
|parLabel=Extend U
|Paritems=
+
|opFamily=MAT
 
+
|parSummary=
+
|parItems={{ParameterItem
{{Menuitem|Itemlabel=Use Per-Light(s) Parameter|Itemname=uselight|OPfamily=MAT
+
|itemLabel=Hold
 
+
|itemSummary=
|Itemsummary=
+
|itemName=hold
 
+
|opFamily=MAT
}}
+
|parName=texture1mapextendu
{{Menuitem|Itemlabel=Front Lit|Itemname=frontlit|OPfamily=MAT
+
}}<!--
 
+
-->{{ParameterItem
|Itemsummary=
+
|itemLabel=Zero
 
+
|itemSummary=
}}
+
|itemName=zero
{{Menuitem|Itemlabel=Back Lit|Itemname=backlit|OPfamily=MAT
+
|opFamily=MAT
 
+
|parName=texture1mapextendu
|Itemsummary=
+
}}<!--
 
+
-->{{ParameterItem
}}
+
|itemLabel=Repeat
 
+
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture1mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture1mapextendu
 +
}}
 +
|parOrder=2
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture1mapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture1mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture1mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture1mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture1mapextendv
 +
}}
 +
|parOrder=3
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture1mapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture1mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture1mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture1mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture1mapextendw
 +
}}
 +
|parOrder=4
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture1mapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=texture1mapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture1mapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=texture1mapfilter
 +
}}
 +
|parOrder=5
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture1mapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=texture1mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=texture1mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=texture1mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=texture1mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=texture1mapanisotropy
 +
}}
 +
|parOrder=6
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture1coord
 +
|parLabel=Texture Coord
 +
|opFamily=MAT
 +
|parSummary=Specifies which texture coordinate to use for the map.
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=texture1coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=texture1coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=texture1coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=texture1coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=texture1coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=texture1coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=texture1coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=texture1coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=texture1coord
 +
}}
 +
|parOrder=7
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture1coordinterp
 +
|parLabel=Coord Interpolation
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=texture1coordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture1coordinterp
 +
}}
 +
|parOrder=8
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|parOrder=1
 +
|opType=phong
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture2
 +
|parLabel=Texture 2
 +
|opFamily=MAT
 +
|parSummary=You can specify up to 4 textures for multi-texturing.
 +
|parItems={{Parameter
 +
|parName=texture2mapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture2mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture2mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture2mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture2mapextendu
 +
}}
 +
|parOrder=10
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture2mapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture2mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture2mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture2mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture2mapextendv
 +
}}
 +
|parOrder=11
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture2mapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture2mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture2mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture2mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture2mapextendw
 +
}}
 +
|parOrder=12
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture2mapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=texture2mapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture2mapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=texture2mapfilter
 +
}}
 +
|parOrder=13
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture2mapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=texture2mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=texture2mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=texture2mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=texture2mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=texture2mapanisotropy
 +
}}
 +
|parOrder=14
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture2coord
 +
|parLabel=Texture Coord
 +
|opFamily=MAT
 +
|parSummary=Specifies which texture coordinate to use for the map.
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=texture2coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=texture2coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=texture2coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=texture2coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=texture2coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=texture2coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=texture2coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=texture2coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=texture2coord
 +
}}
 +
|parOrder=15
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture2coordinterp
 +
|parLabel=Coord Interpolation
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=texture2coordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture2coordinterp
 +
}}
 +
|parOrder=16
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|parOrder=9
 +
|opType=phong
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture3
 +
|parLabel=Texture 3
 +
|opFamily=MAT
 +
|parSummary=You can specify up to 4 textures for multi-texturing.
 +
|parItems={{Parameter
 +
|parName=texture3mapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture3mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture3mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture3mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture3mapextendu
 +
}}
 +
|parOrder=18
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture3mapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture3mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture3mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture3mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture3mapextendv
 +
}}
 +
|parOrder=19
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture3mapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture3mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture3mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture3mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture3mapextendw
 +
}}
 +
|parOrder=20
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture3mapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=texture3mapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture3mapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=texture3mapfilter
 +
}}
 +
|parOrder=21
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture3mapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=texture3mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=texture3mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=texture3mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=texture3mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=texture3mapanisotropy
 +
}}
 +
|parOrder=22
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture3coord
 +
|parLabel=Texture Coord
 +
|opFamily=MAT
 +
|parSummary=Specifies which texture coordinate to use for the map.
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=texture3coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=texture3coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=texture3coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=texture3coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=texture3coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=texture3coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=texture3coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=texture3coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=texture3coord
 +
}}
 +
|parOrder=23
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture3coordinterp
 +
|parLabel=Coord Interpolation
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=texture3coordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture3coordinterp
 +
}}
 +
|parOrder=24
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|parOrder=17
 +
|opType=phong
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture4
 +
|parLabel=Texture 4
 +
|opFamily=MAT
 +
|parSummary=You can specify up to 4 textures for multi-texturing.
 +
|parItems={{Parameter
 +
|parName=texture4mapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture4mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture4mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture4mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture4mapextendu
 +
}}
 +
|parOrder=26
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture4mapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture4mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture4mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture4mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture4mapextendv
 +
}}
 +
|parOrder=27
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture4mapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=texture4mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=texture4mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=texture4mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=texture4mapextendw
 +
}}
 +
|parOrder=28
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture4mapfilter
 +
|parLabel=Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=texture4mapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture4mapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=texture4mapfilter
 +
}}
 +
|parOrder=29
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture4mapanisotropy
 +
|parLabel=Anisotropic Filter
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=texture4mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=texture4mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=texture4mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=texture4mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=texture4mapanisotropy
 +
}}
 +
|parOrder=30
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture4coord
 +
|parLabel=Texture Coord
 +
|opFamily=MAT
 +
|parSummary=Specifies which texture coordinate to use for the map.
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=texture4coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=texture4coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=texture4coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=texture4coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=texture4coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=texture4coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=texture4coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=texture4coord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=texture4coord
 +
}}
 +
|parOrder=31
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=texture4coordnterp
 +
|parLabel=Coord Interpolation
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=texture4coordnterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture4coordnterp
 +
}}
 +
|parOrder=32
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
|parOrder=25
 +
|opType=phong
 +
|parType=TOP
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=multitexexpr
 +
|parLabel=GLSL Expression
 +
|opFamily=MAT
 +
|parSummary=GLSL code that combines the texture images (look to the start of this section for more details). This parameter can be left blank (which means the maps will just be multiplied together).
 +
|parOrder=33
 +
|opType=phong
 +
|parType=Str
 +
|parReadOnly=
 +
|parItems=
 +
}}
 +
}}
 +
{{ParameterPage
 +
|pageName=Rim
 +
|pageSummary=Other rim lights have the same parameters, internal parameter names just have a different number instead of 1.
 +
|opFamily=MAT
 +
|items={{Parameter
 +
|parName=rim1enable
 +
|parLabel=Enable Rim Light 1
 +
|opFamily=MAT
 +
|parSummary=Enables this rim light.
 +
|parOrder=0
 +
|opType=phong
 +
|parType=Toggle
 +
|parReadOnly=
 +
|parItems=
 +
}}
 +
{{Parameter
 +
|parName=rim1map
 +
|parLabel=Rim Color Map
 +
|opFamily=MAT
 +
|parSummary=This map will multiple the calculated rim light color.
 +
|parItems={{Parameter
 +
|parName=rim1mapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=rim1mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=rim1mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=rim1mapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=rim1mapextendu
 +
}}
 +
|parOrder=2
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=rim1mapextendv
 +
|parLabel=Extend V
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=rim1mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=rim1mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=rim1mapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=rim1mapextendv
 +
}}
 +
|parOrder=3
 +
|opType=phong
 +
|parType=Menu
 +
|parReadOnly=
 +
}}
 +
{{Parameter
 +
|parName=rim1mapextendw
 +
|parLabel=Extend W
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=rim1mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=rim1mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=rim1mapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=rim1mapextendw
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=backfacelit|Parlabel=Polygon Back Faces|Parorder=59
+
|parOrder=4
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
{{Menuitem|Itemlabel=Use Per-Light(s) Parameter|Itemname=uselight|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=Front Lit|Itemname=frontlit|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=Back Lit|Itemname=backlit|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParButton|OPfamily=MAT|OPtype=phong|Parname=outputshader|Parlabel=Output Shader...|Parorder=60
+
{{Parameter
 
+
|parName=rim1mapfilter
|Parsummary=
+
|parLabel=Filter
 
+
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Nearest
 +
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=rim1mapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=rim1mapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=rim1mapfilter
 
}}
 
}}
 
+
|parOrder=5
}}
+
|opType=phong
+
|parType=Menu
{{ParameterPage|Pagename=Alpha|OPfamily=MAT|items=
+
|parReadOnly=
 
 
 
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=alphamap|Parlabel=Alpha Map|Parorder=0
 
 
 
|Parsummary=
 
 
 
 
}}
 
}}
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=alphamode|Parlabel=Uniform Alpha|Parorder=8
+
{{Parameter
 
+
|parName=rim1mapanisotropy
|Parsummary=
+
|parLabel=Anisotropic Filter
 
+
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Off
 +
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=rim1mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=rim1mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=rim1mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=rim1mapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=rim1mapanisotropy
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=alphafront|Parlabel=Alpha Front|Parorder=9
+
|parOrder=6
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
}}
 
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=alphaside|Parlabel=Alpha Side|Parorder=10
 
 
 
|Parsummary=
 
 
 
}}
 
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=rolloff|Parlabel=Alpha Rolloff|Parorder=11
 
 
 
|Parsummary=
 
 
 
}}
 
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=postmultalpha|Parlabel=Post-Mult Color by Alpha|Parorder=12
 
 
 
|Parsummary=
 
 
 
 
}}
 
}}
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=alphamultlight|Parlabel=Mult Alpha by Light Luminance|Parorder=13
+
{{Parameter
 
+
|parName=rim1mapcoord
|Parsummary=
+
|parLabel=Texture Coord
 
+
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Texture Layer 0 (uv[0-2])
 +
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=rim1mapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=rim1mapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=rim1mapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=rim1mapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=rim1mapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=rim1mapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=rim1mapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=rim1mapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=rim1mapcoord
 
}}
 
}}
 
+
|parOrder=7
}}
+
|opType=phong
+
|parType=Menu
{{ParameterPage|Pagename=Multi-Texturing|OPfamily=MAT|items=
+
|parReadOnly=
 
 
 
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=multitexturing|Parlabel=Multi-Texturing (Disables Color Map)|Parorder=0
 
 
 
|Parsummary=
 
 
 
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=texture1|Parlabel=Texture 1|Parorder=1
+
{{Parameter
 
+
|parName=rim1mapcoordinterp
|Parsummary=
+
|parLabel=Coord Interpolation
 
+
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Perspective Correct
 +
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=rim1mapcoordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=rim1mapcoordinterp
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=texture2|Parlabel=Texture 2|Parorder=9
+
|parOrder=8
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=texture3|Parlabel=Texture 3|Parorder=17
+
|parOrder=1
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=texture4|Parlabel=Texture 4|Parorder=25
+
{{Parameter
 
+
|parName=rim1color
|Parsummary=
+
|parLabel=Rim Color
 
+
|opFamily=MAT
 +
|parSummary=The color of the rim light.
 +
|parItems={{ParameterItem
 +
|itemLabel=Red
 +
|itemSummary=
 +
|itemName=rim1colorr
 +
|opFamily=MAT
 +
|parName=rim1color
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Green
 +
|itemSummary=
 +
|itemName=rim1colorg
 +
|opFamily=MAT
 +
|parName=rim1color
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Blue
 +
|itemSummary=
 +
|itemName=rim1colorb
 +
|opFamily=MAT
 +
|parName=rim1color
 
}}
 
}}
{{ParString|OPfamily=MAT|OPtype=phong|Parname=multitexexpr|Parlabel=GLSL Expression|Parorder=33
+
|parOrder=9
 
+
|opType=phong
|Parsummary=
+
|parType=RGB
 
+
|parReadOnly=
 
}}
 
}}
 
+
{{Parameter
}}
+
|parName=rim1center
+
|parLabel=Rim Center
{{ParameterPage|Pagename=Rim|OPfamily=MAT|items=
+
|opFamily=MAT
 
+
|parSummary=The center of the rim lights location, situated somewhere on a 360 degree circle.
+
|parOrder=10
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=rim1enable|Parlabel=Enable Rim Light 1|Parorder=0
+
|opType=phong
 
+
|parType=Float
|Parsummary=
+
|parReadOnly=
 
+
|parItems=
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=rim1map|Parlabel=Rim Color Map|Parorder=1
+
{{Parameter
 
+
|parName=rim1width
|Parsummary=
+
|parLabel=Rim Width
 
+
|opFamily=MAT
 +
|parSummary=How far from the center the rim light extends.
 +
|parOrder=11
 +
|opType=phong
 +
|parType=Float
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=rim1color|Parlabel=Rim Color|Parorder=9
+
{{Parameter
 
+
|parName=rim1strength
|Parsummary=
+
|parLabel=Rim Strength
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=Controls the brightness of the rim light.
 
+
|parOrder=12
+
|opType=phong
{{rgbitem|Itemlabel=Red|Itemname=rim1colorr|OPfamily=MAT
+
|parType=Float
 
+
|parReadOnly=
|Itemsummary=
+
|parItems=
 
 
}}
 
{{rgbitem|Itemlabel=Green|Itemname=rim1colorg|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Blue|Itemname=rim1colorb|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParAngleJack|OPfamily=MAT|OPtype=phong|Parname=rim1center|Parlabel=Rim Center|Parorder=10
+
{{Parameter
 
+
|parName=rim1strengthramp
|Parsummary=
+
|parLabel=Rim Strength Ramp
 
+
|opFamily=MAT
}}
+
|parSummary=You can specify a horizontal ramp (it will sample the texture at v = 0.5), which controls the the rim lights strength.
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=rim1width|Parlabel=Rim Width|Parorder=11
+
|parItems=
 
+
|parOrder=13
|Parsummary=
+
|opType=phong
 
+
|parType=TOP
}}
+
|parReadOnly=
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=rim1strength|Parlabel=Rim Strength|Parorder=12
 
 
 
|Parsummary=
 
 
 
}}
 
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=rim1strengthramp|Parlabel=Rim Strength Ramp|Parorder=13
 
 
 
|Parsummary=
 
 
 
 
}}
 
}}
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=rim2enable|Parlabel=Enable Rim Light 2|Parorder=14
 
 
|Parsummary=
 
 
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=rim2map|Parlabel=Rim Color Map|Parorder=15
+
{{ParameterPage
 
+
|pageName=Advanced
|Parsummary=
+
|pageSummary=
 
+
|opFamily=MAT
 +
|items={{Parameter
 +
|parName=shadowstrength
 +
|parLabel=Shadow Strength
 +
|opFamily=MAT
 +
|parSummary=This parameter will control how much being in a shadow will change the color of the lighting. At 1 the object will take on the <span class="tipTextMAT">Shadow Color</span> parameter, at 0 it will behave as if it's not in a shadow, even if it is.
 +
|parOrder=0
 +
|opType=phong
 +
|parType=Float
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=rim2color|Parlabel=Rim Color|Parorder=23
+
{{Parameter
 
+
|parName=shadowcolor
|Parsummary=
+
|parLabel=Shadow Color
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=The color that will be used in shadowed areas.
 
+
|parItems={{ParameterItem
+
|itemLabel=Red
{{rgbitem|Itemlabel=Red|Itemname=rim2colorr|OPfamily=MAT
+
|itemSummary=
 
+
|itemName=shadowcolorr
|Itemsummary=
+
|opFamily=MAT
 
+
|parName=shadowcolor
}}
+
}}<!--
{{rgbitem|Itemlabel=Green|Itemname=rim2colorg|OPfamily=MAT
+
-->{{ParameterItem
 
+
|itemLabel=Green
|Itemsummary=
+
|itemSummary=
 
+
|itemName=shadowcolorg
}}
+
|opFamily=MAT
{{rgbitem|Itemlabel=Blue|Itemname=rim2colorb|OPfamily=MAT
+
|parName=shadowcolor
 
+
}}<!--
|Itemsummary=
+
-->{{ParameterItem
 
+
|itemLabel=Blue
}}
+
|itemSummary=
 
+
|itemName=shadowcolorb
 +
|opFamily=MAT
 +
|parName=shadowcolor
 
}}
 
}}
{{ParAngleJack|OPfamily=MAT|OPtype=phong|Parname=rim2center|Parlabel=Rim Center|Parorder=24
+
|parOrder=1
 
+
|opType=phong
|Parsummary=
+
|parType=RGB
 
+
|parReadOnly=
}}
 
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=rim2width|Parlabel=Rim Width|Parorder=25
 
 
 
|Parsummary=
 
 
 
}}
 
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=rim2strength|Parlabel=Rim Strength|Parorder=26
 
 
 
|Parsummary=
 
 
 
}}
 
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=rim2strengthramp|Parlabel=Rim Strength Ramp|Parorder=27
 
 
 
|Parsummary=
 
 
 
 
}}
 
}}
 
+
{{Parameter
}}
+
|parName=darknessemit
+
|parLabel=Darkness Emit
{{ParameterPage|Pagename=Advanced|OPfamily=MAT|items=
+
|opFamily=MAT
 
+
|parSummary=The Phong MAT calculates the current brightness of color of the objects, after taking into account lights, rim lights, emission etc. It then uses this brightness (between 0-1) and fades in the <span class="tipTextMAT">Darkness Emit Color</span>. The darker the area, the more of the darkness emit color that will be applied.
+
|parOrder=2
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=shadowstrength|Parlabel=Shadow Strength|Parorder=0
+
|opType=phong
 
+
|parType=Toggle
|Parsummary=
+
|parReadOnly=
 
+
|parItems=
}}
 
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=shadowcolor|Parlabel=Shadow Color|Parorder=1
 
 
 
|Parsummary=
 
 
 
|Paritems=
 
 
 
 
{{rgbitem|Itemlabel=Red|Itemname=shadowcolorr|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Green|Itemname=shadowcolorg|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Blue|Itemname=shadowcolorb|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=darknessemit|Parlabel=Darkness Emit|Parorder=2
+
{{Parameter
 
+
|parName=darknessemitcolor
|Parsummary=
+
|parLabel=Darkness Emit Color
 
+
|opFamily=MAT
 +
|parSummary=The color that is used for areas that are in darkness.
 +
|parItems={{ParameterItem
 +
|itemLabel=Red
 +
|itemSummary=
 +
|itemName=darknessemitcolorr
 +
|opFamily=MAT
 +
|parName=darknessemitcolor
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Green
 +
|itemSummary=
 +
|itemName=darknessemitcolorg
 +
|opFamily=MAT
 +
|parName=darknessemitcolor
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Blue
 +
|itemSummary=
 +
|itemName=darknessemitcolorb
 +
|opFamily=MAT
 +
|parName=darknessemitcolor
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=darknessemitcolor|Parlabel=Darkness Emit Color|Parorder=3
+
|parOrder=3
 
+
|opType=phong
|Parsummary=
+
|parType=RGB
 
+
|parReadOnly=
|Paritems=
 
 
 
 
{{rgbitem|Itemlabel=Red|Itemname=darknessemitcolorr|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Green|Itemname=darknessemitcolorg|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Blue|Itemname=darknessemitcolorb|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=darknessemitmap|Parlabel=Darkness Emit Map|Parorder=4
+
{{Parameter
 
+
|parName=darknessemitmap
|Parsummary=
+
|parLabel=Darkness Emit Map
 
+
|opFamily=MAT
 +
|parSummary=This map multiplies the <span class="tipTextMAT">Darkness Emit Color</span>. This maps alpha is not used.
 +
|parItems={{Parameter
 +
|parName=darknessemitmapextendu
 +
|parLabel=Extend U
 +
|opFamily=MAT
 +
|parSummary=
 +
|parItems={{ParameterItem
 +
|itemLabel=Hold
 +
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendu
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendu
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=spec2|Parlabel=Secondary Specular|Parorder=12
+
|parOrder=5
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
{{rgbitem|Itemlabel=Red|Itemname=spec2r|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Green|Itemname=spec2g|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{rgbitem|Itemlabel=Blue|Itemname=spec2b|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=shininess2|Parlabel=Secondary Shininess|Parorder=13
+
{{Parameter
 
+
|parName=darknessemitmapextendv
|Parsummary=
+
|parLabel=Extend V
 
+
|opFamily=MAT
}}
+
|parSummary=
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=writecameradepthtoalpha|Parlabel=Write Camera Space Depth to Alpha|Parorder=14
+
|parItems={{ParameterItem
 
+
|itemLabel=Hold
|Parsummary=
+
|itemSummary=
 
+
|itemName=hold
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendv
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendv
 
}}
 
}}
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=applypointcolor|Parlabel=Apply Point Color|Parorder=15
+
|parOrder=6
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
{{ParDynamicMenu|OPfamily=MAT|OPtype=phong|Parname=instancetexture|Parlabel=Instance Texture|Parorder=16
+
{{Parameter
 
+
|parName=darknessemitmapextendw
|Parsummary=
+
|parLabel=Extend W
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Hold
 
+
|itemSummary=
 +
|itemName=hold
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Zero
 +
|itemSummary=
 +
|itemName=zero
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Repeat
 +
|itemSummary=
 +
|itemName=repeat
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendw
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mirror
 +
|itemSummary=
 +
|itemName=mirror
 +
|opFamily=MAT
 +
|parName=darknessemitmapextendw
 
}}
 
}}
{{ParDynamicMenu|OPfamily=MAT|OPtype=phong|Parname=colorbuffer1rgb|Parlabel=Color Buffer 1 RGB|Parorder=17
+
|parOrder=7
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParDynamicMenu|OPfamily=MAT|OPtype=phong|Parname=colorbuffer2rgb|Parlabel=Color Buffer 2 RGB|Parorder=18
+
{{Parameter
 
+
|parName=darknessemitmapfilter
|Parsummary=
+
|parLabel=Filter
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Nearest
 
+
|itemSummary=
 +
|itemName=nearest
 +
|opFamily=MAT
 +
|parName=darknessemitmapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=darknessemitmapfilter
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=darknessemitmapfilter
 
}}
 
}}
{{ParDynamicMenu|OPfamily=MAT|OPtype=phong|Parname=colorbuffer3rgb|Parlabel=Color Buffer 3 RGB|Parorder=19
+
|parOrder=8
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParDynamicMenu|OPfamily=MAT|OPtype=phong|Parname=colorbuffer4rgb|Parlabel=Color Buffer 4 RGB|Parorder=20
+
{{Parameter
 
+
|parName=darknessemitmapanisotropy
|Parsummary=
+
|parLabel=Anisotropic Filter
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Off
 
+
|itemSummary=
 +
|itemName=off
 +
|opFamily=MAT
 +
|parName=darknessemitmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=2x
 +
|itemSummary=
 +
|itemName=2x
 +
|opFamily=MAT
 +
|parName=darknessemitmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=4x
 +
|itemSummary=
 +
|itemName=4x
 +
|opFamily=MAT
 +
|parName=darknessemitmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=8x
 +
|itemSummary=
 +
|itemName=8x
 +
|opFamily=MAT
 +
|parName=darknessemitmapanisotropy
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=16x
 +
|itemSummary=
 +
|itemName=16x
 +
|opFamily=MAT
 +
|parName=darknessemitmapanisotropy
 
}}
 
}}
{{ParDynamicMenu|OPfamily=MAT|OPtype=phong|Parname=colorbuffer5rgb|Parlabel=Color Buffer 5 RGB|Parorder=21
+
|parOrder=9
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParDynamicMenu|OPfamily=MAT|OPtype=phong|Parname=colorbuffer6rgb|Parlabel=Color Buffer 6 RGB|Parorder=22
+
{{Parameter
 
+
|parName=darknessemitmapcoord
|Parsummary=
+
|parLabel=Texture Coord
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Texture Layer 0 (uv[0-2])
 
+
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=darknessemitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=darknessemitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 2 (uv[6-8])
 +
|itemSummary=
 +
|itemName=uv2
 +
|opFamily=MAT
 +
|parName=darknessemitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 3 (uv[9-11])
 +
|itemSummary=
 +
|itemName=uv3
 +
|opFamily=MAT
 +
|parName=darknessemitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 4 (uv[12-14])
 +
|itemSummary=
 +
|itemName=uv4
 +
|opFamily=MAT
 +
|parName=darknessemitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 5 (uv[15-17])
 +
|itemSummary=
 +
|itemName=uv5
 +
|opFamily=MAT
 +
|parName=darknessemitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 6 (uv[18-20])
 +
|itemSummary=
 +
|itemName=uv6
 +
|opFamily=MAT
 +
|parName=darknessemitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 7 (uv[21-23])
 +
|itemSummary=
 +
|itemName=uv7
 +
|opFamily=MAT
 +
|parName=darknessemitmapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Screen Space Coordinates
 +
|itemSummary=
 +
|itemName=screenspace
 +
|opFamily=MAT
 +
|parName=darknessemitmapcoord
 
}}
 
}}
{{ParDynamicMenu|OPfamily=MAT|OPtype=phong|Parname=colorbuffer7rgb|Parlabel=Color Buffer 7 RGB|Parorder=23
+
|parOrder=10
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
 
+
{{Parameter
}}
+
|parName=darknessemitmapcoordinterp
+
|parLabel=Coord Interpolation
{{ParameterPage|Pagename=Optimize|OPfamily=MAT|items=
+
|opFamily=MAT
 
+
|parSummary=
+
|parItems={{ParameterItem
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=fastnormhalfang|Parlabel=Fast Normalize Half-Angle|Parorder=0
+
|itemLabel=Perspective Correct
 
+
|itemSummary=
|Parsummary=
+
|itemName=perspectivecorrect
 
+
|opFamily=MAT
|Paritems=
+
|parName=darknessemitmapcoordinterp
 
+
}}<!--
+
-->{{ParameterItem
{{Menuitem|Itemlabel=Use Global Settings|Itemname=useglobal|OPfamily=MAT
+
|itemLabel=Linear (noperspective)
 
+
|itemSummary=
|Itemsummary=
+
|itemName=linear
 
+
|opFamily=MAT
}}
+
|parName=darknessemitmapcoordinterp
{{Menuitem|Itemlabel=Yes|Itemname=yes|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=No|Itemname=no|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=dontrenormnorm|Parlabel=Don't Re-normalize Normal|Parorder=1
+
|parOrder=11
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
{{Menuitem|Itemlabel=Use Global Settings|Itemname=useglobal|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=Yes|Itemname=yes|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=No|Itemname=no|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=dontrenormlightvec|Parlabel=Don't Re-normalize Light Vector|Parorder=2
+
|parOrder=4
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
|Paritems=
 
 
 
 
{{Menuitem|Itemlabel=Use Global Settings|Itemname=useglobal|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=Yes|Itemname=yes|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=No|Itemname=no|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=dontrenormspotvec|Parlabel=Don't Re-normalize Spot Vector|Parorder=3
+
{{Parameter
 
+
|parName=spec2
|Parsummary=
+
|parLabel=Secondary Specular
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=Adds a secondary specular highlight color.
 
+
|parItems={{ParameterItem
+
|itemLabel=Red
{{Menuitem|Itemlabel=Use Global Settings|Itemname=useglobal|OPfamily=MAT
+
|itemSummary=
 
+
|itemName=spec2r
|Itemsummary=
+
|opFamily=MAT
 
+
|parName=spec2
}}
+
}}<!--
{{Menuitem|Itemlabel=Yes|Itemname=yes|OPfamily=MAT
+
-->{{ParameterItem
 
+
|itemLabel=Green
|Itemsummary=
+
|itemSummary=
 
+
|itemName=spec2g
}}
+
|opFamily=MAT
{{Menuitem|Itemlabel=No|Itemname=no|OPfamily=MAT
+
|parName=spec2
 
+
}}<!--
|Itemsummary=
+
-->{{ParameterItem
 
+
|itemLabel=Blue
}}
+
|itemSummary=
 
+
|itemName=spec2b
 +
|opFamily=MAT
 +
|parName=spec2
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=dontrenormeyevec|Parlabel=Don't Re-normalize Eye Vector|Parorder=4
+
|parOrder=12
 
+
|opType=phong
|Parsummary=
+
|parType=RGB
 
+
|parReadOnly=
|Paritems=
 
 
 
 
{{Menuitem|Itemlabel=Use Global Settings|Itemname=useglobal|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=Yes|Itemname=yes|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=No|Itemname=no|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=fastdeformtangent|Parlabel=Fast Deform Tangent|Parorder=5
+
{{Parameter
 
+
|parName=shininess2
|Parsummary=
+
|parLabel=Secondary Shininess
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=Controls the secondary specular highlights (glossyness) of an object. Higher settings are more glossy, like plastic or shiny metal. Lower settings give more of a matte finish.
 
+
|parOrder=13
+
|opType=phong
{{Menuitem|Itemlabel=Use Global Settings|Itemname=useglobal|OPfamily=MAT
+
|parType=Float
 
+
|parReadOnly=
|Itemsummary=
+
|parItems=
 
 
}}
 
{{Menuitem|Itemlabel=Yes|Itemname=yes|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=No|Itemname=no|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
 
+
{{Parameter
}}
+
|parName=writecameradepthtoalpha
+
|parLabel=Write Camera Space Depth to Alpha
{{ParameterPage|Pagename=Deform|OPfamily=MAT|items=
+
|opFamily=MAT
 
+
|parSummary=This causes the camera space depth of the pixel to be written to the alpha channel of the output TOP. This value can be useful for post-processing effects, but ofcourse you will not have the result of all the alpha calculations if you turn this on (although they'll get used to multiply the output color, assuming <span class="tipTextMAT">Post-Mult Color by Alpha</span> is enabled.
+
|parOrder=14
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=dodeform|Parlabel=Deform|Parorder=0
+
|opType=phong
 
+
|parType=Toggle
|Parsummary=
+
|parReadOnly=
 
+
|parItems=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=deformdata|Parlabel=Get Bone Data:|Parorder=1
+
{{Parameter
 
+
|parName=applypointcolor
|Parsummary=
+
|parLabel=Apply Point Color
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=Normally the color attribute (Cd[4]) coming from the SOP is used in the lighting calculation, you can turn off using the color attribute by un-checking this parameter.
 
+
|parOrder=15
+
|opType=phong
{{Menuitem|Itemlabel=From a SOP|Itemname=sop|OPfamily=MAT
+
|parType=Toggle
 
+
|parReadOnly=
|Itemsummary=
+
|parItems=
 
 
}}
 
{{Menuitem|Itemlabel=From another MAT|Itemname=mat|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{Menuitem|Itemlabel=From a DeformIn MAT|Itemname=deformin|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
 
 
 
}}
 
}}
{{ParSopRef|OPfamily=MAT|OPtype=phong|Parname=targetsop|Parlabel=SOP with Capture Data|Parorder=2
+
{{Parameter
 
+
|parName=instancetexture
|Parsummary=
+
|parLabel=Instance Texture
 
+
|opFamily=MAT
 +
|parSummary=When provider per-instance textures in the [[Geometry COMP]], this parameter selects which map the instance texture will be applied as.
 +
|parItems={{ParameterItem
 +
|opFamily=MAT
 +
|parName=instancetexture
 +
|itemLabel=Color Map
 +
|itemName=colormap
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=instancetexture
 +
|itemLabel=Normal Map
 +
|itemName=normalmap
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=instancetexture
 +
|itemLabel=Diffuse Map
 +
|itemName=diffusemap
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=instancetexture
 +
|itemLabel=Specular Map
 +
|itemName=specmap
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=instancetexture
 +
|itemLabel=Emit Map
 +
|itemName=emitmap
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=instancetexture
 +
|itemLabel=Alpha Map
 +
|itemName=alphamap
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=instancetexture
 +
|itemLabel=Darkness Emit Map
 +
|itemName=darknessemitmap
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=instancetexture
 +
|itemLabel=Rim 1 Color Map
 +
|itemName=rim1map
 +
|itemSummary=
 
}}
 
}}
{{ParString|OPfamily=MAT|OPtype=phong|Parname=pcaptpath|Parlabel=pCaptPath Attrib|Parorder=3
+
|parOrder=16
 
+
|opType=phong
|Parsummary=
+
|parType=StrMenu
 
+
|parReadOnly=
 
}}
 
}}
{{ParString|OPfamily=MAT|OPtype=phong|Parname=pcaptdata|Parlabel=pCaptData Attrib|Parorder=4
+
{{Parameter
 
+
|parName=colorbuffer1rgb
|Parsummary=
+
|parLabel=Color Buffer 1 RGB
 
+
|opFamily=MAT
 +
|parSummary=Allows sending things like normals or diffuse color to different Render TOP color buffers in a single pass.
 +
|parItems={{ParameterItem
 +
|opFamily=MAT
 +
|parName=colorbuffer1rgb
 +
|itemLabel=Zero
 +
|itemName=zero
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=colorbuffer1rgb
 +
|itemLabel=One
 +
|itemName=one
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=colorbuffer1rgb
 +
|itemLabel=World Space Position
 +
|itemName=worldspaceposition
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=colorbuffer1rgb
 +
|itemLabel=World Space Normal
 +
|itemName=worldspacenormal
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=colorbuffer1rgb
 +
|itemLabel=Camera Space Position
 +
|itemName=cameraspaceposition
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=colorbuffer1rgb
 +
|itemLabel=Camera Space Normal
 +
|itemName=cameraspacenormal
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=colorbuffer1rgb
 +
|itemLabel=Point Color
 +
|itemName=pointcolor
 +
|itemSummary=
 +
}}<!--
 +
-->{{ParameterItem
 +
|opFamily=MAT
 +
|parName=colorbuffer1rgb
 +
|itemLabel=Texture Coord 0