Difference between revisions of "Phong MAT"

From Derivative
Jump to navigation Jump to search
m
(officializing)
Tag: 2021.10000
 
(49 intermediate revisions by 6 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
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=diff|Parlabel=Diffuse|Parorder=1
+
|parOrder=59
 
+
|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=emitmapanisotropy
|Parsummary=
+
|parLabel=Anisotropic Filter
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Off
{{rgbitem|Itemlabel=Red|Itemname=ambr|OPfamily=MAT
+
|itemSummary=
 
+
|itemName=off
|Itemsummary=
+
|opFamily=MAT
 
+
|parName=emitmapanisotropy
}}
+
}}<!--
{{rgbitem|Itemlabel=Green|Itemname=ambg|OPfamily=MAT
+
-->{{ParameterItem
 
+
|itemLabel=2x
|Itemsummary=
+
|itemSummary=
 
+
|itemName=2x
}}
+
|opFamily=MAT
{{rgbitem|Itemlabel=Blue|Itemname=ambb|OPfamily=MAT
+
|parName=emitmapanisotropy
 
+
}}<!--
|Itemsummary=
+
-->{{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
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=spec|Parlabel=Specular|Parorder=3
+
|parOrder=60
 
+
|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=emitmapcoord
|Parsummary=
+
|parLabel=Texture Coord
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Texture Layer 0 (uv[0-2])
{{rgbitem|Itemlabel=Red|Itemname=emitr|OPfamily=MAT
+
|itemSummary=
 
+
|itemName=uv0
|Itemsummary=
+
|opFamily=MAT
 
+
|parName=emitmapcoord
}}
+
}}<!--
{{rgbitem|Itemlabel=Green|Itemname=emitg|OPfamily=MAT
+
-->{{ParameterItem
 
+
|itemLabel=Texture Layer 1 (uv[3-5])
|Itemsummary=
+
|itemSummary=
 
+
|itemName=uv1
}}
+
|opFamily=MAT
{{rgbitem|Itemlabel=Blue|Itemname=emitb|OPfamily=MAT
+
|parName=emitmapcoord
 
+
}}<!--
|Itemsummary=
+
-->{{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
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=constant|Parlabel=Constant|Parorder=5
+
|parOrder=61
 
+
|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
+
{{Parameter
 
+
|parName=emitmapcoordinterp
|Parsummary=
+
|parLabel=Coord Interpolation
 
+
|opFamily=MAT
}}
+
|parSummary=
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=colormap|Parlabel=Color Map|Parorder=7
+
|parItems={{ParameterItem
 
+
|itemLabel=Perspective Correct
|Parsummary=
+
|itemSummary=
 
+
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=emitmapcoordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=emitmapcoordinterp
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=colormapextendu|Parlabel=Extend U|Parorder=8
+
|parOrder=62
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=colormapextendv|Parlabel=Extend V|Parorder=9
+
|parOrder=55
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=colormapextendw|Parlabel=Extend W|Parorder=10
+
{{Parameter
 
+
|parName=envmap
|Parsummary=
+
|parLabel=Environment Map
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=colormapfilter|Parlabel=Filter|Parorder=11
+
|parOrder=64
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=colormapanisotropy|Parlabel=Anisotropic Filter|Parorder=12
+
{{Parameter
 
+
|parName=envmapextendv
|Parsummary=
+
|parLabel=Extend V
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=colormapcoord|Parlabel=Texture Coord|Parorder=13
+
|parOrder=65
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=colormapcoordinterp|Parlabel=Coord Interpolation|Parorder=14
+
{{Parameter
 
+
|parName=envmapextendw
|Parsummary=
+
|parLabel=Extend W
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=normalmap|Parlabel=Normal Map (Bump)|Parorder=15
+
|parOrder=66
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=normalmapextendu|Parlabel=Extend U|Parorder=16
+
{{Parameter
 
+
|parName=envmapfilter
|Parsummary=
+
|parLabel=Filter
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=normalmapextendv|Parlabel=Extend V|Parorder=17
+
|parOrder=67
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=normalmapextendw|Parlabel=Extend W|Parorder=18
+
{{Parameter
 
+
|parName=envmapanisotropy
|Parsummary=
+
|parLabel=Anisotropic Filter
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=normalmapfilter|Parlabel=Filter|Parorder=19
+
|parOrder=68
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=normalmapanisotropy|Parlabel=Anisotropic Filter|Parorder=20
+
|parOrder=63
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=normalmapcoord|Parlabel=Texture Coord|Parorder=21
+
{{Parameter
 
+
|parName=envmapcolor
|Parsummary=
+
|parLabel=Environment Map Color
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=normalmapcoordinterp|Parlabel=Coord Interpolation|Parorder=22
+
|parOrder=69
 
+
|opType=phong
|Parsummary=
+
|parType=RGB
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=bumpscale|Parlabel=Bump Scale|Parorder=23
+
{{Parameter
 
+
|parName=envmaprotate
|Parsummary=
+
|parLabel=Environment Map Rotate
 
+
|opFamily=MAT
}}
+
|parSummary=Rotate the texture specified by the <span class="tipTextMAT">Environment Map</span> parameter above.
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=parallaxmapping|Parlabel=Parallax Mapping|Parorder=24
+
|parItems={{ParameterItem
 
+
|itemLabel=X
|Parsummary=
+
|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
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=parallaxclamp|Parlabel=Parallax Clamp|Parorder=25
+
|parOrder=70
 
+
|opType=phong
|Parsummary=
+
|parType=XYZ
 
+
|parReadOnly=
}}
 
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=diffusemap|Parlabel=Diffuse Map|Parorder=26
 
 
 
|Parsummary=
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=diffusemapextendu|Parlabel=Extend U|Parorder=27
+
{{Parameter
 
+
|opFamily=MAT
|Parsummary=
+
|opType=phongMAT
 
+
|parLabel=Environment Map 2D Type
|Paritems=
+
|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=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=diffusemapextendv|Parlabel=Extend V|Parorder=28
 
 
|Parsummary=
 
 
|Paritems=
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=diffusemapextendw|Parlabel=Extend W|Parorder=29
+
{{Parameter
 
+
|parName=frontfacelit
|Parsummary=
+
|parLabel=Polygon Front Faces
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=diffusemapfilter|Parlabel=Filter|Parorder=30
+
|parOrder=72
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=diffusemapanisotropy|Parlabel=Anisotropic Filter|Parorder=31
+
{{Parameter
 
+
|parName=backfacelit
|Parsummary=
+
|parLabel=Polygon Back Faces
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=diffusemapcoord|Parlabel=Texture Coord|Parorder=32
+
|parOrder=73
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=diffusemapcoordinterp|Parlabel=Coord Interpolation|Parorder=33
+
{{Parameter
 
+
|parName=outputshader
|Parsummary=
+
|parLabel=Output Shader...
 
+
|opFamily=MAT
|Paritems=
+
|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=
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=specmap|Parlabel=Specular Map|Parorder=34
 
 
|Parsummary=
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=specmapextendu|Parlabel=Extend U|Parorder=35
+
{{ParameterPage
 
+
|pageName=Alpha
|Parsummary=
+
|pageSummary=''' Note: Simply applying alpha to an object does not make it transparent. For more information refer to the [[Transparency]] article.'''
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=specmapextendv|Parlabel=Extend V|Parorder=36
+
|parOrder=1
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=specmapextendw|Parlabel=Extend W|Parorder=37
+
{{Parameter
 
+
|parName=alphamapextendv
|Parsummary=
+
|parLabel=Extend V
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=specmapfilter|Parlabel=Filter|Parorder=38
+
|parOrder=2
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=specmapanisotropy|Parlabel=Anisotropic Filter|Parorder=39
+
{{Parameter
 
+
|parName=alphamapextendw
|Parsummary=
+
|parLabel=Extend W
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=specmapcoord|Parlabel=Texture Coord|Parorder=40
+
|parOrder=3
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=specmapcoordinterp|Parlabel=Coord Interpolation|Parorder=41
+
{{Parameter
 
+
|parName=alphamapfilter
|Parsummary=
+
|parLabel=Filter
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=emitmap|Parlabel=Emit Map|Parorder=42
+
|parOrder=4
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=emitmapextendu|Parlabel=Extend U|Parorder=43
+
{{Parameter
 
+
|parName=alphamapanisotropy
|Parsummary=
+
|parLabel=Anisotropic Filter
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=emitmapextendv|Parlabel=Extend V|Parorder=44
+
|parOrder=5
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=emitmapextendw|Parlabel=Extend W|Parorder=45
+
{{Parameter
 
+
|parName=alphamapcoord
|Parsummary=
+
|parLabel=Texture Coord
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Texture Layer 0 (uv[0-2])
 
+
|itemSummary=
 +
|itemName=uv0
 +
|opFamily=MAT
 +
|parName=alphamapcoord
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Texture Layer 1 (uv[3-5])
 +
|itemSummary=
 +
|itemName=uv1
 +
|opFamily=MAT
 +
|parName=alphamapcoord
 +
}}<!--
 +
-->{{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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=emitmapfilter|Parlabel=Filter|Parorder=46
+
|parOrder=6
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=emitmapanisotropy|Parlabel=Anisotropic Filter|Parorder=47
+
{{Parameter
 
+
|parName=alphamapcoordinterp
|Parsummary=
+
|parLabel=Coord Interpolation
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Perspective Correct
 
+
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=alphamapcoordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=alphamapcoordinterp
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=emitmapcoord|Parlabel=Texture Coord|Parorder=48
+
|parOrder=7
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=emitmapcoordinterp|Parlabel=Coord Interpolation|Parorder=49
+
|parOrder=0
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=envmap|Parlabel=Environment Map|Parorder=50
+
{{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=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=envmapextendu|Parlabel=Extend U|Parorder=51
+
{{Parameter
 
+
|parName=alphafront
|Parsummary=
+
|parLabel=Alpha Front
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=The opacity of the material. This parameter is multiplied by point alpha of the object (as will as any other alpha source).
 
+
|parOrder=9
+
|opType=phong
 
+
|parType=Float
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=envmapextendv|Parlabel=Extend V|Parorder=52
+
{{Parameter
 
+
|parName=alphaside
|Parsummary=
+
|parLabel=Alpha Side
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=This is used for non-uniform alpha. It is the alpha value polygons that are facing away from the camera will get.
 
+
|parOrder=10
+
|opType=phong
 
+
|parType=Float
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=envmapextendw|Parlabel=Extend W|Parorder=53
+
{{Parameter
 
+
|parName=rolloff
|Parsummary=
+
|parLabel=Alpha Rolloff
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=Controls how the alpha changes from Alpha Front to Alpha Side.
 
+
|parOrder=11
+
|opType=phong
 
+
|parType=Float
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=envmapfilter|Parlabel=Filter|Parorder=54
+
{{Parameter
 
+
|parName=postmultalpha
|Parsummary=
+
|parLabel=Post-Mult Color by Alpha
 
+
|opFamily=MAT
|Paritems=
+
|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=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=envmapanisotropy|Parlabel=Anisotropic Filter|Parorder=55
+
{{Parameter
 
+
|parName=alphamultlight
|Parsummary=
+
|parLabel=Mult Alpha by Light Luminance
 
+
|opFamily=MAT
|Paritems=
+
|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=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=backfacelit|Parlabel=Polygon Back Faces|Parorder=59
+
{{Parameter
 
+
|parName=texture1coord
|Parsummary=
+
|parLabel=Texture Coord
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=Specifies which texture coordinate to use for the map.
 
+
|parItems={{ParameterItem
+
|itemLabel=Texture Layer 0 (uv[0-2])
{{Menuitem|Itemlabel=Use Per-Light(s) Parameter|Itemname=uselight|OPfamily=MAT
+
|itemSummary=
 
+
|itemName=uv0
|Itemsummary=
+
|opFamily=MAT
 
+
|parName=texture1coord
}}
+
}}<!--
{{Menuitem|Itemlabel=Front Lit|Itemname=frontlit|OPfamily=MAT
+
-->{{ParameterItem
 
+
|itemLabel=Texture Layer 1 (uv[3-5])
|Itemsummary=
+
|itemSummary=
 
+
|itemName=uv1
}}
+
|opFamily=MAT
{{Menuitem|Itemlabel=Back Lit|Itemname=backlit|OPfamily=MAT
+
|parName=texture1coord
 
+
}}<!--
|Itemsummary=
+
-->{{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
 
}}
 
}}
{{ParButton|OPfamily=MAT|OPtype=phong|Parname=outputshader|Parlabel=Output Shader...|Parorder=60
+
|parOrder=7
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
 
+
{{Parameter
}}
+
|parName=texture1coordinterp
+
|parLabel=Coord Interpolation
{{ParameterPage|Pagename=Alpha|OPfamily=MAT|items=
+
|opFamily=MAT
 
+
|parSummary=
+
|parItems={{ParameterItem
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=alphamap|Parlabel=Alpha Map|Parorder=0
+
|itemLabel=Perspective Correct
 
+
|itemSummary=
|Parsummary=
+
|itemName=perspectivecorrect
 
+
|opFamily=MAT
 +
|parName=texture1coordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture1coordinterp
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=alphamapextendu|Parlabel=Extend U|Parorder=1
+
|parOrder=8
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=alphamapextendv|Parlabel=Extend V|Parorder=2
+
|parOrder=1
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=alphamapextendw|Parlabel=Extend W|Parorder=3
+
{{Parameter
 
+
|parName=texture2
|Parsummary=
+
|parLabel=Texture 2
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=alphamapfilter|Parlabel=Filter|Parorder=4
+
|parOrder=10
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=alphamapanisotropy|Parlabel=Anisotropic Filter|Parorder=5
+
{{Parameter
 
+
|parName=texture2mapextendv
|Parsummary=
+
|parLabel=Extend V
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=alphamapcoord|Parlabel=Texture Coord|Parorder=6
+
|parOrder=11
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=alphamapcoordinterp|Parlabel=Coord Interpolation|Parorder=7
+
{{Parameter
 
+
|parName=texture2mapextendw
|Parsummary=
+
|parLabel=Extend W
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=alphamode|Parlabel=Uniform Alpha|Parorder=8
+
|parOrder=12
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=alphafront|Parlabel=Alpha Front|Parorder=9
+
{{Parameter
 
+
|parName=texture2mapfilter
|Parsummary=
+
|parLabel=Filter
 
+
|opFamily=MAT
}}
+
|parSummary=
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=alphaside|Parlabel=Alpha Side|Parorder=10
+
|parItems={{ParameterItem
 
+
|itemLabel=Nearest
|Parsummary=
+
|itemSummary=
 
+
|itemName=nearest
}}
+
|opFamily=MAT
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=rolloff|Parlabel=Alpha Rolloff|Parorder=11
+
|parName=texture2mapfilter
 
+
}}<!--
|Parsummary=
+
-->{{ParameterItem
 
+
|itemLabel=Linear
}}
+
|itemSummary=
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=postmultalpha|Parlabel=Post-Mult Color by Alpha|Parorder=12
+
|itemName=linear
 
+
|opFamily=MAT
|Parsummary=
+
|parName=texture2mapfilter
 
+
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Mipmap Linear
 +
|itemSummary=
 +
|itemName=mipmaplinear
 +
|opFamily=MAT
 +
|parName=texture2mapfilter
 
}}
 
}}
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=alphamultlight|Parlabel=Mult Alpha by Light Luminance|Parorder=13
+
|parOrder=13
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
 
+
{{Parameter
}}
+
|parName=texture2mapanisotropy
+
|parLabel=Anisotropic Filter
{{ParameterPage|Pagename=Multi-Texturing|OPfamily=MAT|items=
+
|opFamily=MAT
 
+
|parSummary=
+
|parItems={{ParameterItem
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=multitexturing|Parlabel=Multi-Texturing (Disables Color Map)|Parorder=0
+
|itemLabel=Off
 
+
|itemSummary=
|Parsummary=
+
|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
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=texture1|Parlabel=Texture 1|Parorder=1
+
|parOrder=14
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture1mapextendu|Parlabel=Extend U|Parorder=2
+
{{Parameter
 
+
|parName=texture2coord
|Parsummary=
+
|parLabel=Texture Coord
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture1mapextendv|Parlabel=Extend V|Parorder=3
+
|parOrder=15
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture1mapextendw|Parlabel=Extend W|Parorder=4
+
{{Parameter
 
+
|parName=texture2coordinterp
|Parsummary=
+
|parLabel=Coord Interpolation
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Perspective Correct
 
+
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=texture2coordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture2coordinterp
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture1mapfilter|Parlabel=Filter|Parorder=5
+
|parOrder=16
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture1mapanisotropy|Parlabel=Anisotropic Filter|Parorder=6
+
|parOrder=9
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture1coord|Parlabel=Texture Coord|Parorder=7
+
{{Parameter
 
+
|parName=texture3
|Parsummary=
+
|parLabel=Texture 3
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture1coordinterp|Parlabel=Coord Interpolation|Parorder=8
+
|parOrder=18
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=texture2|Parlabel=Texture 2|Parorder=9
+
{{Parameter
 
+
|parName=texture3mapextendv
|Parsummary=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture2mapextendu|Parlabel=Extend U|Parorder=10
+
|parOrder=19
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture2mapextendv|Parlabel=Extend V|Parorder=11
+
{{Parameter
 
+
|parName=texture3mapextendw
|Parsummary=
+
|parLabel=Extend W
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture2mapextendw|Parlabel=Extend W|Parorder=12
+
|parOrder=20
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture2mapfilter|Parlabel=Filter|Parorder=13
+
{{Parameter
 
+
|parName=texture3mapfilter
|Parsummary=
+
|parLabel=Filter
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture2mapanisotropy|Parlabel=Anisotropic Filter|Parorder=14
+
|parOrder=21
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture2coord|Parlabel=Texture Coord|Parorder=15
+
{{Parameter
 
+
|parName=texture3mapanisotropy
|Parsummary=
+
|parLabel=Anisotropic Filter
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture2coordinterp|Parlabel=Coord Interpolation|Parorder=16
+
|parOrder=22
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=texture3|Parlabel=Texture 3|Parorder=17
+
{{Parameter
 
+
|parName=texture3coord
|Parsummary=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture3mapextendu|Parlabel=Extend U|Parorder=18
+
|parOrder=23
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture3mapextendv|Parlabel=Extend V|Parorder=19
+
{{Parameter
 
+
|parName=texture3coordinterp
|Parsummary=
+
|parLabel=Coord Interpolation
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Perspective Correct
 
+
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=texture3coordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture3coordinterp
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture3mapextendw|Parlabel=Extend W|Parorder=20
+
|parOrder=24
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture3mapfilter|Parlabel=Filter|Parorder=21
+
|parOrder=17
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture3mapanisotropy|Parlabel=Anisotropic Filter|Parorder=22
+
{{Parameter
 
+
|parName=texture4
|Parsummary=
+
|parLabel=Texture 4
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture3coord|Parlabel=Texture Coord|Parorder=23
+
|parOrder=26
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture3coordinterp|Parlabel=Coord Interpolation|Parorder=24
+
{{Parameter
 
+
|parName=texture4mapextendv
|Parsummary=
+
|parLabel=Extend V
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=texture4|Parlabel=Texture 4|Parorder=25
+
|parOrder=27
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture4mapextendu|Parlabel=Extend U|Parorder=26
+
{{Parameter
 
+
|parName=texture4mapextendw
|Parsummary=
+
|parLabel=Extend W
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture4mapextendv|Parlabel=Extend V|Parorder=27
+
|parOrder=28
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture4mapextendw|Parlabel=Extend W|Parorder=28
+
{{Parameter
 
+
|parName=texture4mapfilter
|Parsummary=
+
|parLabel=Filter
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture4mapfilter|Parlabel=Filter|Parorder=29
+
|parOrder=29
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture4mapanisotropy|Parlabel=Anisotropic Filter|Parorder=30
+
{{Parameter
 
+
|parName=texture4mapanisotropy
|Parsummary=
+
|parLabel=Anisotropic Filter
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture4coord|Parlabel=Texture Coord|Parorder=31
+
|parOrder=30
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=texture4coordnterp|Parlabel=Coord Interpolation|Parorder=32
+
{{Parameter
 
+
|parName=texture4coord
|Parsummary=
+
|parLabel=Texture Coord
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParString|OPfamily=MAT|OPtype=phong|Parname=multitexexpr|Parlabel=GLSL Expression|Parorder=33
+
|parOrder=31
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
 
+
{{Parameter
}}
+
|parName=texture4coordnterp
+
|parLabel=Coord Interpolation
{{ParameterPage|Pagename=Rim|OPfamily=MAT|items=
+
|opFamily=MAT
 
+
|parSummary=
+
|parItems={{ParameterItem
{{ParToggle|OPfamily=MAT|OPtype=phong|Parname=rim1enable|Parlabel=Enable Rim Light 1|Parorder=0
+
|itemLabel=Perspective Correct
 
+
|itemSummary=
|Parsummary=
+
|itemName=perspectivecorrect
 
+
|opFamily=MAT
 +
|parName=texture4coordnterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=texture4coordnterp
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=rim1map|Parlabel=Rim Color Map|Parorder=1
+
|parOrder=32
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim1mapextendu|Parlabel=Extend U|Parorder=2
+
|parOrder=25
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim1mapextendv|Parlabel=Extend V|Parorder=3
+
{{Parameter
 
+
|parName=multitexexpr
|Parsummary=
+
|parLabel=GLSL Expression
 
+
|opFamily=MAT
|Paritems=
+
|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=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim1mapextendw|Parlabel=Extend W|Parorder=4
 
 
|Parsummary=
 
 
|Paritems=
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim1mapfilter|Parlabel=Filter|Parorder=5
+
{{ParameterPage
 
+
|pageName=Rim
|Parsummary=
+
|pageSummary=Other rim lights have the same parameters, internal parameter names just have a different number instead of 1.
 
+
|opFamily=MAT
|Paritems=
+
|items={{Parameter
 
+
|parName=rim1enable
+
|parLabel=Enable Rim Light 1
 
+
|opFamily=MAT
 +
|parSummary=Enables this rim light.
 +
|parOrder=0
 +
|opType=phong
 +
|parType=Toggle
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim1mapanisotropy|Parlabel=Anisotropic Filter|Parorder=6
+
{{Parameter
 
+
|parName=rim1map
|Parsummary=
+
|parLabel=Rim Color Map
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim1mapcoord|Parlabel=Texture Coord|Parorder=7
+
|parOrder=2
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim1mapcoordinterp|Parlabel=Coord Interpolation|Parorder=8
+
{{Parameter
 
+
|parName=rim1mapextendv
|Parsummary=
+
|parLabel=Extend V
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=rim1color|Parlabel=Rim Color|Parorder=9
+
|parOrder=3
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
{{rgbitem|Itemlabel=Red|Itemname=rim1colorr|OPfamily=MAT
 
 
 
|Itemsummary=
 
 
 
}}
 
{{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=rim1mapextendw
|Parsummary=
+
|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
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=rim1width|Parlabel=Rim Width|Parorder=11
+
|parOrder=4
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|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
+
{{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
 
}}
 
}}
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=rim2map|Parlabel=Rim Color Map|Parorder=15
+
|parOrder=5
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim2mapextendu|Parlabel=Extend U|Parorder=16
+
{{Parameter
 
+
|parName=rim1mapanisotropy
|Parsummary=
+
|parLabel=Anisotropic Filter
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim2mapextendv|Parlabel=Extend V|Parorder=17
+
|parOrder=6
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim2mapextendw|Parlabel=Extend W|Parorder=18
+
{{Parameter
 
+
|parName=rim1mapcoord
|Parsummary=
+
|parLabel=Texture Coord
 
+
|opFamily=MAT
|Paritems=
+
|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
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim2mapfilter|Parlabel=Filter|Parorder=19
+
|parOrder=7
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim2mapanisotropy|Parlabel=Anisotropic Filter|Parorder=20
+
{{Parameter
 
+
|parName=rim1mapcoordinterp
|Parsummary=
+
|parLabel=Coord Interpolation
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=
 
+
|parItems={{ParameterItem
+
|itemLabel=Perspective Correct
 
+
|itemSummary=
 +
|itemName=perspectivecorrect
 +
|opFamily=MAT
 +
|parName=rim1mapcoordinterp
 +
}}<!--
 +
-->{{ParameterItem
 +
|itemLabel=Linear (noperspective)
 +
|itemSummary=
 +
|itemName=linear
 +
|opFamily=MAT
 +
|parName=rim1mapcoordinterp
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim2mapcoord|Parlabel=Texture Coord|Parorder=21
+
|parOrder=8
 
+
|opType=phong
|Parsummary=
+
|parType=Menu
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=rim2mapcoordinterp|Parlabel=Coord Interpolation|Parorder=22
+
|parOrder=1
 
+
|opType=phong
|Parsummary=
+
|parType=TOP
 
+
|parReadOnly=
|Paritems=
 
 
 
 
 
 
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=rim2color|Parlabel=Rim Color|Parorder=23
+
{{Parameter
 
+
|parName=rim1color
|Parsummary=
+
|parLabel=Rim Color
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=The color of the rim light.
 
+
|parItems={{ParameterItem
+
|itemLabel=Red
{{rgbitem|Itemlabel=Red|Itemname=rim2colorr|OPfamily=MAT
+
|itemSummary=
 
+
|itemName=rim1colorr
|Itemsummary=
+
|opFamily=MAT
 
+
|parName=rim1color
}}
+
}}<!--
{{rgbitem|Itemlabel=Green|Itemname=rim2colorg|OPfamily=MAT
+
-->{{ParameterItem
 
+
|itemLabel=Green
|Itemsummary=
+
|itemSummary=
 
+
|itemName=rim1colorg
}}
+
|opFamily=MAT
{{rgbitem|Itemlabel=Blue|Itemname=rim2colorb|OPfamily=MAT
+
|parName=rim1color
 
+
}}<!--
|Itemsummary=
+
-->{{ParameterItem
 
+
|itemLabel=Blue
}}
+
|itemSummary=
 
+
|itemName=rim1colorb
 +
|opFamily=MAT
 +
|parName=rim1color
 
}}
 
}}
{{ParAngleJack|OPfamily=MAT|OPtype=phong|Parname=rim2center|Parlabel=Rim Center|Parorder=24
+
|parOrder=9
 
+
|opType=phong
|Parsummary=
+
|parType=RGB
 
+
|parReadOnly=
 
}}
 
}}
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=rim2width|Parlabel=Rim Width|Parorder=25
+
{{Parameter
 
+
|parName=rim1center
|Parsummary=
+
|parLabel=Rim Center
 
+
|opFamily=MAT
}}
+
|parSummary=The center of the rim lights location, situated somewhere on a 360 degree circle.
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=rim2strength|Parlabel=Rim Strength|Parorder=26
+
|parOrder=10
 
+
|opType=phong
|Parsummary=
+
|parType=Float
 
+
|parReadOnly=
}}
+
|parItems=
{{ParTopRef|OPfamily=MAT|OPtype=phong|Parname=rim2strengthramp|Parlabel=Rim Strength Ramp|Parorder=27
 
 
 
|Parsummary=
 
 
 
 
}}
 
}}
 
+
{{Parameter
}}
+
|parName=rim1width
+
|parLabel=Rim Width
{{ParameterPage|Pagename=Advanced|OPfamily=MAT|items=
+
|opFamily=MAT
 
+
|parSummary=How far from the center the rim light extends.
+
|parOrder=11
{{ParFloat|OPfamily=MAT|OPtype=phong|Parname=shadowstrength|Parlabel=Shadow Strength|Parorder=0
+
|opType=phong
 
+
|parType=Float
|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=rim1strength
|Parsummary=
+
|parLabel=Rim Strength
 
+
|opFamily=MAT
 +
|parSummary=Controls the brightness of the rim light.
 +
|parOrder=12
 +
|opType=phong
 +
|parType=Float
 +
|parReadOnly=
 +
|parItems=
 
}}
 
}}
{{ParRGB|OPfamily=MAT|OPtype=phong|Parname=darknessemitcolor|Parlabel=Darkness Emit Color|Parorder=3
+
{{Parameter
 
+
|parName=rim1strengthramp
|Parsummary=
+
|parLabel=Rim Strength Ramp
 
+
|opFamily=MAT
|Paritems=
+
|parSummary=You can specify a horizontal ramp (it will sample the texture at v = 0.5), which controls the the rim lights strength.
 
+
|parItems=
+
|parOrder=13
{{rgbitem|Itemlabel=Red|Itemname=darknessemitcolorr|OPfamily=MAT
+
|opType=phong
 
+
|parType=TOP
|Itemsummary=
+
|parReadOnly=
 
 
}}
 
{{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
 
 
|Parsummary=
 
 
 
}}
 
}}
{{ParMenu|OPfamily=MAT|OPtype=phong|Parname=darknessemitmapextendu|Parlabel=Extend U|Parorder=5
+
{{ParameterPage
 
+
|pageName=Advanced
|Parsummary=
+
|pageSummary=
 
+
|opFamily=MAT
|Paritems=
+
|items={{Parameter
 
+
|parName=shadowstrength
+
|parLabel=Shadow Strength
 
+
|opFamily=MAT
 +
|parSummary=This parameter will control how much being in a s