mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
dedicated server nulltexturemanager work
also supress warning for imageassets not loading a texture in nulldevice, and early out of _determineFeatures shadergen methods under the same conditions
This commit is contained in:
parent
02aee76fc9
commit
04f4a5fcf4
4 changed files with 17 additions and 3 deletions
|
|
@ -593,6 +593,7 @@ void ProcessedDeferredMaterial::_determineFeatures( U32 stageNum,
|
|||
MaterialFeatureData &fd,
|
||||
const FeatureSet &features )
|
||||
{
|
||||
if (GFX->getAdapterType() == NullDevice) return;
|
||||
Parent::_determineFeatures( stageNum, fd, features );
|
||||
if (fd.features.hasFeature(MFT_ForwardShading))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue