Difference between revisions of "TXMT/Parameters/stdMatUntexturedDiffAlpha"
From SimsWiki
< TXMT | Parameters
m (typo) |
|||
| Line 48: | Line 48: | ||
* 0 (for null materials/invisible recolour) | * 0 (for null materials/invisible recolour) | ||
* 1 (normally found in opaque materials) | * 1 (normally found in opaque materials) | ||
| − | * 0 < x < 1 ( | + | * 0 < x < 1 (normlly found in glass materials or completely transparent materials) |
Latest revision as of 18:16, 17 April 2007
|
|
Contents |
[edit] (MATD/txmt) property parameter: standard material: stdMatUntexturedDiffAlpha
[edit] Parameter Type
[f] float / Real
[edit] TXMT/MATD Parameter Group
[edit] Known designed values:
- 0.0 =< r =< 1.0
- Any value in this above range inclusively.
[edit] Common Notes
- Commonly seen in "setf alpha ($stdMatAlphaMultiplier * $stdMatUntexturedDiffAlpha)", so stdMatAlphaMultiplier is a co-worker for their mutual resultant alpha.
- May read the following codes for the relationships between the involved parameters.
if ($stdMatBaseTextureEnabled = false) setf finalAlphaScale ($stdMatUntexturedDiffAlpha * $stdMatAlphaMultiplier) else setf finalAlphaScale ($stdMatAlphaMultiplier) endif
[edit] Common Default Value(s)
- 0 (for null materials/invisible recolour)
- 1 (normally found in opaque materials)
- 0 < x < 1 (normlly found in glass materials or completely transparent materials)