mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-26 23:59:30 +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
|
|
@ -197,6 +197,9 @@ public:
|
|||
/// Returns true if any pass glows
|
||||
bool hasGlow() const { return mHasGlow; }
|
||||
|
||||
/// Returns true if any pass accumulates
|
||||
bool hasAccumulation() const { return mHasAccumulation; }
|
||||
|
||||
/// Gets the stage number for a pass
|
||||
U32 getStageFromPass(U32 pass) const
|
||||
{
|
||||
|
|
@ -244,6 +247,9 @@ protected:
|
|||
/// If we glow
|
||||
bool mHasGlow;
|
||||
|
||||
/// If we have accumulation.
|
||||
bool mHasAccumulation;
|
||||
|
||||
/// Number of stages (not to be confused with number of passes)
|
||||
U32 mMaxStages;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue