mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-25 06:15:36 +00:00
Ongoing PostFX org rework.
This commit is contained in:
parent
ecad33c598
commit
a1b281cc5f
6 changed files with 221 additions and 178 deletions
|
|
@ -500,12 +500,12 @@ singleton PostEffect( reflectionProbeArrayPostFX )
|
|||
//texture[0] = "#highlight";
|
||||
//texture[1] = "$backBuffer";
|
||||
|
||||
texture[0] = "$deferredBuffer";
|
||||
texture[1] = "$colorBuffer";
|
||||
texture[2] = "$matInfoBuffer";
|
||||
texture[0] = "#deferred";
|
||||
texture[1] = "#color";
|
||||
texture[2] = "#matinfo";
|
||||
texture[3] = "$BRDFTexture";
|
||||
texture[4] = "$cubeMap";
|
||||
texture[5] = "$irradianceCubemap";
|
||||
|
||||
target = "$backBuffer";
|
||||
target = "AL_FormatToken";
|
||||
};
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
#include "../postFx.hlsl"
|
||||
|
||||
#include "../../postFx/postFx.hlsl"
|
||||
#include "../../shaderModel.hlsl"
|
||||
#include "../../shaderModelAutoGen.hlsl"
|
||||
#include "../../lighting.hlsl"
|
||||
|
||||
TORQUE_UNIFORM_SAMPLER2D(deferredBuffer, 0);
|
||||
|
|
@ -146,6 +147,9 @@ float4 main( PFXVertToPix IN ) : SV_TARGET
|
|||
|
||||
float finalSum = blendSum;
|
||||
|
||||
return TORQUE_TEX2D(colorBuffer, IN.uv0.xy);
|
||||
//return float4(surface.N,1);
|
||||
//return float4(1,1,1, 1);
|
||||
//return float4(finalSum,finalSum,finalSum, 1);
|
||||
|
||||
// Normalize blendVal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue