mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
shifts glowmap out of the composite and to it's own texture, as well as featureset. (GL port pending design finalization)
This commit is contained in:
parent
ac6fdf884e
commit
d034895e8f
12 changed files with 180 additions and 198 deletions
|
|
@ -128,7 +128,7 @@ Material::Material()
|
|||
mSmoothnessChan[i] = 0;
|
||||
mAOChan[i] = 1;
|
||||
mMetalChan[i] = 2;
|
||||
mGlowChan[i] = 3;
|
||||
|
||||
mAccuEnabled[i] = false;
|
||||
mAccuScale[i] = 1.0f;
|
||||
mAccuDirection[i] = 1.0f;
|
||||
|
|
@ -325,8 +325,6 @@ void Material::initPersistFields()
|
|||
|
||||
addField("glowMap", TypeImageFilename, Offset(mGlowMapFilename, Material), MAX_STAGES,
|
||||
"Metalness map. will be packed into the B channel of a packed 'specular' map");
|
||||
addField("glowChan", TypeF32, Offset(mGlowChan, Material), MAX_STAGES,
|
||||
"The input channel metalness maps use.");
|
||||
addField("glowMul", TypeF32, Offset(mGlowMul, Material), MAX_STAGES,
|
||||
"The input channel metalness maps use.");
|
||||
addField("glow", TypeBool, Offset(mGlow, Material), MAX_STAGES,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue