mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 00:23:46 +00:00
Added Forward Material debug viz for HLSL(so far) and integrated it back into editor flagging.
Re-added logic to track existing probe shader consts instead of constantly recreating it Added logic for pre multiplied translucency mode
This commit is contained in:
parent
c74b669f5e
commit
72ceede272
16 changed files with 424 additions and 30 deletions
|
|
@ -79,6 +79,7 @@ function MaterialEditorGui::open(%this)
|
|||
MaterialEditorPropertiesWindow-->blendingTypePopUp.add(AddAlpha,3);
|
||||
MaterialEditorPropertiesWindow-->blendingTypePopUp.add(Sub,4);
|
||||
MaterialEditorPropertiesWindow-->blendingTypePopUp.add(LerpAlpha,5);
|
||||
MaterialEditorPropertiesWindow-->blendingTypePopUp.add(PreMult,6);
|
||||
MaterialEditorPropertiesWindow-->blendingTypePopUp.setSelected( 0, false );
|
||||
|
||||
//Reflection Types
|
||||
|
|
@ -786,6 +787,7 @@ function MaterialEditorGui::guiSync( %this, %material )
|
|||
case "AddAlpha": %selectedNum = 3;
|
||||
case "Sub": %selectedNum = 4;
|
||||
case "LerpAlpha": %selectedNum = 5;
|
||||
case "PreMult": %selectedNum = 6;
|
||||
}
|
||||
MaterialEditorPropertiesWindow-->blendingTypePopUp.setSelected(%selectedNum);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue