mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 12:25:30 +00:00
revert some removals of vert to pixel shader getters to avoid register mismatches.
(cherry picked from commit 1e1e39f4f72ac6d4ce19704f69ba34bbff29d89c)
This commit is contained in:
parent
835d6f009a
commit
3f2113bf7d
5 changed files with 43 additions and 1 deletions
|
|
@ -624,7 +624,7 @@ void TerrainDetailMapFeatHLSL::processPix( Vector<ShaderComponent*> &component
|
|||
Var *detailInfo = _getDetailIdStrengthParallax();
|
||||
|
||||
// Done here to keep array indexes aligned
|
||||
_getMacroIdStrengthParallax();
|
||||
Var* macroInfo = _getMacroIdStrengthParallax();
|
||||
|
||||
// Create the detail blend var.
|
||||
Var *detailBlend = new Var;
|
||||
|
|
@ -1414,6 +1414,7 @@ void TerrainHeightMapBlendHLSL::processPix(Vector<ShaderComponent*>& componentLi
|
|||
{
|
||||
for (S32 idx = 0; idx < detailCount; ++idx)
|
||||
{
|
||||
Var* detailBlend = (Var*)LangElement::find(String::ToString("detailBlend%d", idx));
|
||||
Var* detailH = (Var*)LangElement::find(String::ToString("detailH%d", idx));
|
||||
Var* blendHardness = (Var*)LangElement::find(String::ToString("blendHardness%d", idx));
|
||||
if (!blendHardness)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue