mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-24 14:44:45 +00:00
while shifitng loop in _initSamplerNames to use sgMaxTerrainMaterialsPerPass. if folks absolutely require thier projects to contain terrain macromaps, they can unrem
FEATUREMGR->registerFeature( MFT_TerrainMacroMap, new NamedFeatureGLSL("TerrainMacroMap Deprecated")); // new TerrainMacroMapFeatGLSL);
//samplerNames.push_back("$macrolayerTex");
and
//samplerNames.push_back(avar("$macroMap%d", i));
as well as turn sgMaxTerrainMaterialsPerPass down to 2 entries on a given terrain subchunk before it requires another rerender of the terrain blended in with prior passes.
|
||
|---|---|---|
| .. | ||
| glsl | ||
| hlsl | ||
| terrCell.cpp | ||
| terrCell.h | ||
| terrCellMaterial.cpp | ||
| terrCellMaterial.h | ||
| terrCollision.cpp | ||
| terrCollision.h | ||
| terrData.cpp | ||
| terrData.h | ||
| terrExport.cpp | ||
| terrFeatureTypes.cpp | ||
| terrFeatureTypes.h | ||
| terrFile.cpp | ||
| terrFile.h | ||
| terrImport.cpp | ||
| terrLighting.cpp | ||
| terrMaterial.cpp | ||
| terrMaterial.h | ||
| terrRender.cpp | ||
| terrRender.h | ||