mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
adds multiple targets to the posteffect class
These changes allows for multiple color targets from a post effect pass. This is not 100% complete yet as the api still expects 1 target out from a posteffect and will not pass those on to other stages in a posteffect chain but will be adding that soon. This is a working state and everything renders correctly here.
This commit is contained in:
parent
10cff00c23
commit
60e659aedc
4 changed files with 494 additions and 508 deletions
|
|
@ -99,11 +99,10 @@ struct PFXFrameState
|
|||
};
|
||||
|
||||
///
|
||||
GFX_DeclareTextureProfile( PostFxTargetProfile) ;
|
||||
GFX_DeclareTextureProfile( PostFxTextureProfile );
|
||||
GFX_DeclareTextureProfile( PostFxTextureSRGBProfile );
|
||||
|
||||
GFX_DeclareTextureProfile( VRTextureProfile );
|
||||
|
||||
GFX_DeclareTextureProfile( VRDepthProfile );
|
||||
|
||||
///
|
||||
|
|
@ -119,4 +118,4 @@ GFXDeclareVertexFormat( PFXVertex )
|
|||
Point3F wsEyeRay;
|
||||
};
|
||||
|
||||
#endif // _POSTEFFECTCOMMON_H_
|
||||
#endif // _POSTEFFECTCOMMON_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue