|
@@ -70,15 +70,15 @@ $HDRPostFX::gaussStdDev = 0.8;
|
|
|
/// The 1x255 color correction ramp texture used
|
|
|
/// by both the HDR shader and the GammaPostFx shader
|
|
|
/// for doing full screen color correction.
|
|
|
-$HDRPostFX::colorCorrectionRamp = "data/postFX/art/null_color_ramp.png";
|
|
|
+$HDRPostFX::colorCorrectionRamp = "core/images/null_color_ramp.png";
|
|
|
|
|
|
|
|
|
singleton ShaderData( HDR_BrightPassShader )
|
|
|
{
|
|
|
- DXVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.hlsl";
|
|
|
- DXPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/brightPassFilterP.hlsl";
|
|
|
- OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.glsl";
|
|
|
- OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/gl/brightPassFilterP.glsl";
|
|
|
+ DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
|
|
|
+ DXPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/brightPassFilterP.hlsl";
|
|
|
+ OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.glsl";
|
|
|
+ OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/gl/brightPassFilterP.glsl";
|
|
|
|
|
|
samplerNames[0] = "$inputTex";
|
|
|
samplerNames[1] = "$luminanceTex";
|
|
@@ -88,10 +88,10 @@ singleton ShaderData( HDR_BrightPassShader )
|
|
|
|
|
|
singleton ShaderData( HDR_DownScale4x4Shader )
|
|
|
{
|
|
|
- DXVertexShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/downScale4x4V.hlsl";
|
|
|
- DXPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/downScale4x4P.hlsl";
|
|
|
- OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/gl/downScale4x4V.glsl";
|
|
|
- OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/gl/downScale4x4P.glsl";
|
|
|
+ DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/downScale4x4V.hlsl";
|
|
|
+ DXPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/downScale4x4P.hlsl";
|
|
|
+ OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/gl/downScale4x4V.glsl";
|
|
|
+ OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/gl/downScale4x4P.glsl";
|
|
|
|
|
|
samplerNames[0] = "$inputTex";
|
|
|
|
|
@@ -100,10 +100,10 @@ singleton ShaderData( HDR_DownScale4x4Shader )
|
|
|
|
|
|
singleton ShaderData( HDR_BloomGaussBlurHShader )
|
|
|
{
|
|
|
- DXVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.hlsl";
|
|
|
- DXPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/bloomGaussBlurHP.hlsl";
|
|
|
- OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.glsl";
|
|
|
- OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/gl/bloomGaussBlurHP.glsl";
|
|
|
+ DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
|
|
|
+ DXPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/bloomGaussBlurHP.hlsl";
|
|
|
+ OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.glsl";
|
|
|
+ OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/gl/bloomGaussBlurHP.glsl";
|
|
|
|
|
|
samplerNames[0] = "$inputTex";
|
|
|
|
|
@@ -112,10 +112,10 @@ singleton ShaderData( HDR_BloomGaussBlurHShader )
|
|
|
|
|
|
singleton ShaderData( HDR_BloomGaussBlurVShader )
|
|
|
{
|
|
|
- DXVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.hlsl";
|
|
|
- DXPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/bloomGaussBlurVP.hlsl";
|
|
|
- OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.glsl";
|
|
|
- OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/gl/bloomGaussBlurVP.glsl";
|
|
|
+ DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
|
|
|
+ DXPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/bloomGaussBlurVP.hlsl";
|
|
|
+ OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.glsl";
|
|
|
+ OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/gl/bloomGaussBlurVP.glsl";
|
|
|
|
|
|
samplerNames[0] = "$inputTex";
|
|
|
|
|
@@ -124,10 +124,10 @@ singleton ShaderData( HDR_BloomGaussBlurVShader )
|
|
|
|
|
|
singleton ShaderData( HDR_SampleLumShader )
|
|
|
{
|
|
|
- DXVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.hlsl";
|
|
|
- DXPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/sampleLumInitialP.hlsl";
|
|
|
- OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.glsl";
|
|
|
- OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/gl/sampleLumInitialP.glsl";
|
|
|
+ DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
|
|
|
+ DXPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/sampleLumInitialP.hlsl";
|
|
|
+ OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.glsl";
|
|
|
+ OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/gl/sampleLumInitialP.glsl";
|
|
|
|
|
|
samplerNames[0] = "$inputTex";
|
|
|
|
|
@@ -136,10 +136,10 @@ singleton ShaderData( HDR_SampleLumShader )
|
|
|
|
|
|
singleton ShaderData( HDR_DownSampleLumShader )
|
|
|
{
|
|
|
- DXVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.hlsl";
|
|
|
- DXPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/sampleLumIterativeP.hlsl";
|
|
|
- OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.glsl";
|
|
|
- OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/gl/sampleLumIterativeP.glsl";
|
|
|
+ DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
|
|
|
+ DXPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/sampleLumIterativeP.hlsl";
|
|
|
+ OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.glsl";
|
|
|
+ OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/gl/sampleLumIterativeP.glsl";
|
|
|
|
|
|
samplerNames[0] = "$inputTex";
|
|
|
|
|
@@ -148,10 +148,10 @@ singleton ShaderData( HDR_DownSampleLumShader )
|
|
|
|
|
|
singleton ShaderData( HDR_CalcAdaptedLumShader )
|
|
|
{
|
|
|
- DXVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.hlsl";
|
|
|
- DXPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/calculateAdaptedLumP.hlsl";
|
|
|
- OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.glsl";
|
|
|
- OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/gl/calculateAdaptedLumP.glsl";
|
|
|
+ DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
|
|
|
+ DXPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/calculateAdaptedLumP.hlsl";
|
|
|
+ OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.glsl";
|
|
|
+ OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/gl/calculateAdaptedLumP.glsl";
|
|
|
|
|
|
samplerNames[0] = "$currLum";
|
|
|
samplerNames[1] = "$lastAdaptedLum";
|
|
@@ -161,10 +161,10 @@ singleton ShaderData( HDR_CalcAdaptedLumShader )
|
|
|
|
|
|
singleton ShaderData( HDR_CombineShader )
|
|
|
{
|
|
|
- DXVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.hlsl";
|
|
|
- DXPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/finalPassCombineP.hlsl";
|
|
|
- OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.glsl";
|
|
|
- OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/gl/finalPassCombineP.glsl";
|
|
|
+ DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
|
|
|
+ DXPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/finalPassCombineP.hlsl";
|
|
|
+ OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.glsl";
|
|
|
+ OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/gl/finalPassCombineP.glsl";
|
|
|
|
|
|
samplerNames[0] = "$sceneTex";
|
|
|
samplerNames[1] = "$luminanceTex";
|
|
@@ -475,10 +475,10 @@ singleton PostEffect( HDRPostFX )
|
|
|
|
|
|
singleton ShaderData( LuminanceVisShader )
|
|
|
{
|
|
|
- DXVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.hlsl";
|
|
|
- DXPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/luminanceVisP.hlsl";
|
|
|
- OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFx/postFxV.glsl";
|
|
|
- OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFx/hdr/gl/luminanceVisP.glsl";
|
|
|
+ DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
|
|
|
+ DXPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/luminanceVisP.hlsl";
|
|
|
+ OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.glsl";
|
|
|
+ OGLPixelShaderFile = $Core::CommonShaderPath @ "/postFX/hdr/gl/luminanceVisP.glsl";
|
|
|
|
|
|
samplerNames[0] = "$inputTex";
|
|
|
|