Difference between revisions of "TXMT/Parameters/stdMatUntexturedDiffAlpha"

From SimsWiki
Jump to: navigation, search
 
Line 26: Line 26:
 
==Known designed values:==
 
==Known designed values:==
  
* 0.0 =< r  =< 64.0
+
* 0.0 =< r  =< 1.0
 
: Any value in this above range inclusively.
 
: Any value in this above range inclusively.
  
Line 33: Line 33:
  
 
* Commonly seen in "setf alpha ($stdMatAlphaMultiplier * $stdMatUntexturedDiffAlpha)", so [http://www.sims2wiki.info/TXMT/Parameters/stdMatAlphaMultiplier stdMatAlphaMultiplier] is a co-worker for their mutual resultant alpha.
 
* Commonly seen in "setf alpha ($stdMatAlphaMultiplier * $stdMatUntexturedDiffAlpha)", so [http://www.sims2wiki.info/TXMT/Parameters/stdMatAlphaMultiplier stdMatAlphaMultiplier] is a co-worker for their mutual resultant alpha.
 +
* May read the following codes for the relationships between the involved parameters.
 +
<pre>
 +
if ($stdMatBaseTextureEnabled = false)
 +
  setf finalAlphaScale ($stdMatUntexturedDiffAlpha * $stdMatAlphaMultiplier)
 +
else
 +
  setf finalAlphaScale ($stdMatAlphaMultiplier)
 +
endif
 +
</pre>
  
  
  
 
==Common Default Value(s)==
 
==Common Default Value(s)==
* 0
+
 
 +
* 0 (for null materials/invisible recolour)
 +
* 1 (normally found in opaque materials)
 +
* 0 < x < 1 (noramlly found in glass materials or completely transparent materials)

Revision as of 19:15, 17 April 2007

Links back to the txmt Parameter Listings

* Alphabetically Sequenced List

* Categorised List

Contents

(MATD/txmt) property parameter: standard material: stdMatUntexturedDiffAlpha

Parameter Type

[f] float / Real


TXMT/MATD Parameter Group


Known designed values:

  • 0.0 =< r =< 1.0
Any value in this above range inclusively.


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


Common Default Value(s)

  • 0 (for null materials/invisible recolour)
  • 1 (normally found in opaque materials)
  • 0 < x < 1 (noramlly found in glass materials or completely transparent materials)
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox