mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
cleaned up variant of https://github.com/GarageGames/Torque3D/pull/768 alterations: opengl support, in-shader bug-reporting, direction vector fit to material slider-bar.
This commit is contained in:
parent
949251b988
commit
c6cdfafe4e
42 changed files with 2680 additions and 8 deletions
|
|
@ -121,6 +121,7 @@ void ImposterCaptureMaterialHook::init( BaseMatInstance *inMat )
|
|||
features.addFeature( MFT_IsDXTnm );
|
||||
features.addFeature( MFT_NormalMap );
|
||||
features.addFeature( MFT_NormalsOut );
|
||||
features.addFeature( MFT_AccuMap );
|
||||
mNormalsMatInst = MATMGR->createMatInstance( matName );
|
||||
mNormalsMatInst->getFeaturesDelegate().bind( &ImposterCaptureMaterialHook::_overrideFeatures );
|
||||
mNormalsMatInst->init( features, inMat->getVertexFormat() );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue