mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
clamp spot angle to 179,
up custommaterial inputs to 16 add Material::PhotometricMask:handling to processedcustommaterial and for paranoias sake go ahead and be explicit about _getLightMaterial (those *should* be unneeded as they optionally default to that, but it's how they were in the beatup fork during testing)
This commit is contained in:
parent
4d1395dd57
commit
c7cc86b357
4 changed files with 5 additions and 4 deletions
|
|
@ -71,7 +71,7 @@ public:
|
|||
//-----------------------------------------------------------------------
|
||||
enum Constants
|
||||
{
|
||||
MAX_TEX_PER_PASS = 8, ///< Number of textures per pass
|
||||
MAX_TEX_PER_PASS = 16, ///< Number of textures per pass
|
||||
MAX_STAGES = 4,
|
||||
NUM_EFFECT_COLOR_STAGES = 2, ///< Number of effect color definitions for transitioning effects.
|
||||
};
|
||||
|
|
|
|||
|
|
@ -361,6 +361,7 @@ void ProcessedCustomMaterial::setTextureStages( SceneRenderState *state, const S
|
|||
break;
|
||||
|
||||
case Material::Mask:
|
||||
case Material::PhotometricMask:
|
||||
case Material::Standard:
|
||||
case Material::Bump:
|
||||
case Material::Detail:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue