mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-28 10:51:50 +01:00
280 lines
14 KiB
Plaintext
280 lines
14 KiB
Plaintext
#version 430
|
|
#extension GL_ARB_texture_gather : enable
|
|
#extension GL_ARB_separate_shader_objects : enable
|
|
// shader 50fbaf7528d32528
|
|
// Used for: Changes the brightness of the cutscenes for the EU and US versions of the game.
|
|
|
|
|
|
// start of shader inputs/outputs, predetermined by Cemu. Do not touch
|
|
#ifdef VULKAN
|
|
#define ATTR_LAYOUT(__vkSet, __location) layout(set = __vkSet, location = __location)
|
|
#define UNIFORM_BUFFER_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(set = __vkSet, binding = __vkLocation, std140)
|
|
#define TEXTURE_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(set = __vkSet, binding = __vkLocation)
|
|
#define GET_FRAGCOORD() vec4(gl_FragCoord.xy*uf_fragCoordScale.xy,gl_FragCoord.zw)
|
|
#else
|
|
#define ATTR_LAYOUT(__vkSet, __location) layout(location = __location)
|
|
#define UNIFORM_BUFFER_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(binding = __glLocation, std140)
|
|
#define TEXTURE_LAYOUT(__glLocation, __vkSet, __vkLocation) layout(binding = __glLocation)
|
|
#define GET_FRAGCOORD() vec4(gl_FragCoord.xy*uf_fragCoordScale,gl_FragCoord.zw)
|
|
#endif
|
|
#ifdef VULKAN
|
|
layout(set = 1, binding = 6) uniform ufBlock
|
|
{
|
|
uniform ivec4 uf_remappedPS[7];
|
|
uniform vec4 uf_fragCoordScale;
|
|
};
|
|
#else
|
|
uniform ivec4 uf_remappedPS[7];
|
|
uniform vec2 uf_fragCoordScale;
|
|
#endif
|
|
TEXTURE_LAYOUT(1, 1, 0) uniform sampler2D textureUnitPS1;
|
|
TEXTURE_LAYOUT(2, 1, 1) uniform sampler2D textureUnitPS2;
|
|
TEXTURE_LAYOUT(3, 1, 2) uniform sampler2D textureUnitPS3;
|
|
TEXTURE_LAYOUT(4, 1, 3) uniform sampler2D textureUnitPS4;
|
|
TEXTURE_LAYOUT(5, 1, 4) uniform sampler2D textureUnitPS5;
|
|
TEXTURE_LAYOUT(6, 1, 5) uniform sampler2D textureUnitPS6;
|
|
layout(location = 0) in vec4 passParameterSem128;
|
|
layout(location = 0) out vec4 passPixelColor0;
|
|
// end of shader inputs/outputs
|
|
int clampFI32(int v)
|
|
{
|
|
if( v == 0x7FFFFFFF )
|
|
return floatBitsToInt(1.0);
|
|
else if( v == 0xFFFFFFFF )
|
|
return floatBitsToInt(0.0);
|
|
return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0));
|
|
}
|
|
float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; }
|
|
void main()
|
|
{
|
|
ivec4 R0i = ivec4(0);
|
|
ivec4 R1i = ivec4(0);
|
|
ivec4 R2i = ivec4(0);
|
|
ivec4 R3i = ivec4(0);
|
|
ivec4 R4i = ivec4(0);
|
|
ivec4 R5i = ivec4(0);
|
|
ivec4 R6i = ivec4(0);
|
|
ivec4 R122i = ivec4(0);
|
|
ivec4 R123i = ivec4(0);
|
|
ivec4 R124i = ivec4(0);
|
|
ivec4 R125i = ivec4(0);
|
|
ivec4 R126i = ivec4(0);
|
|
ivec4 R127i = ivec4(0);
|
|
int backupReg0i, backupReg1i, backupReg2i, backupReg3i, backupReg4i;
|
|
ivec4 PV0i = ivec4(0), PV1i = ivec4(0);
|
|
int PS0i = 0, PS1i = 0;
|
|
ivec4 tempi = ivec4(0);
|
|
float tempResultf;
|
|
int tempResulti;
|
|
ivec4 ARi = ivec4(0);
|
|
bool predResult = true;
|
|
vec3 cubeMapSTM;
|
|
int cubeMapFaceId;
|
|
R0i = floatBitsToInt(passParameterSem128);
|
|
R0i.zw = floatBitsToInt(texture(textureUnitPS5, intBitsToFloat(R0i.xy)).zw);
|
|
R2i.xyz = floatBitsToInt(texture(textureUnitPS3, intBitsToFloat(R0i.xy)).xyz);
|
|
R1i.xyz = floatBitsToInt(texture(textureUnitPS4, intBitsToFloat(R0i.xy)).xyz);
|
|
R3i.xyzw = floatBitsToInt(texture(textureUnitPS6, intBitsToFloat(R0i.xy)).xyzw);
|
|
R4i.xyz = floatBitsToInt(texture(textureUnitPS2, intBitsToFloat(R0i.xy)).xyz);
|
|
// 0
|
|
backupReg0i = R0i.x;
|
|
backupReg1i = R0i.y;
|
|
PV0i.x = ((intBitsToFloat(R0i.z) > 0.0)?int(0xFFFFFFFF):int(0x0));
|
|
R5i.y = floatBitsToInt(intBitsToFloat(backupReg0i) + -(0.5));
|
|
R5i.z = 0;
|
|
R1i.w = 0x3f000000;
|
|
R0i.y = floatBitsToInt(intBitsToFloat(backupReg1i) + -(0.5));
|
|
PS0i = R0i.y;
|
|
// 1
|
|
R127i.x = ((PV0i.x == 0)?(R2i.z):(R1i.z));
|
|
PV1i.x = R127i.x;
|
|
R127i.y = ((PV0i.x == 0)?(R2i.y):(R1i.y));
|
|
PV1i.y = R127i.y;
|
|
R127i.z = ((PV0i.x == 0)?(R2i.x):(R1i.x));
|
|
PV1i.z = R127i.z;
|
|
R2i.w = 0x3f800000;
|
|
R6i.y = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[0].x)) + 1.0);
|
|
R6i.y = floatBitsToInt(intBitsToFloat(R6i.y) * 2.0);
|
|
PS1i = R6i.y;
|
|
// 2
|
|
R0i.x = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[0].y)) + 1.0);
|
|
R0i.x = floatBitsToInt(intBitsToFloat(R0i.x) * 2.0);
|
|
PV0i.y = floatBitsToInt(intBitsToFloat(R2i.z) + -(intBitsToFloat(PV1i.x)));
|
|
PV0i.z = floatBitsToInt(intBitsToFloat(R2i.y) + -(intBitsToFloat(PV1i.y)));
|
|
PV0i.w = floatBitsToInt(intBitsToFloat(R2i.x) + -(intBitsToFloat(PV1i.z)));
|
|
R4i.w = floatBitsToInt(-(intBitsToFloat(uf_remappedPS[0].z)) + 1.0);
|
|
R4i.w = floatBitsToInt(intBitsToFloat(R4i.w) * 2.0);
|
|
PS0i = R4i.w;
|
|
// 3
|
|
backupReg0i = R0i.w;
|
|
R2i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R0i.w)) + intBitsToFloat(R127i.z)));
|
|
R2i.y = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[0].x)) * 2.0 + 1.0));
|
|
R0i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R0i.w)) + intBitsToFloat(R127i.x)));
|
|
R0i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(backupReg0i)) + intBitsToFloat(R127i.y)));
|
|
R2i.z = uf_remappedPS[0].x;
|
|
R2i.z = floatBitsToInt(intBitsToFloat(R2i.z) * 2.0);
|
|
PS1i = R2i.z;
|
|
R1i.xyz = floatBitsToInt(texture(textureUnitPS1, intBitsToFloat(R1i.ww)).xxx);
|
|
// 0
|
|
PV0i.x = floatBitsToInt(intBitsToFloat(R3i.y) + -(intBitsToFloat(R0i.w)));
|
|
PV0i.y = floatBitsToInt(intBitsToFloat(R3i.x) + -(intBitsToFloat(R2i.x)));
|
|
R124i.z = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[0].y)) * 2.0 + 1.0));
|
|
PV0i.w = floatBitsToInt(intBitsToFloat(R3i.z) + -(intBitsToFloat(R0i.z)));
|
|
R125i.y = uf_remappedPS[0].y;
|
|
R125i.y = floatBitsToInt(intBitsToFloat(R125i.y) * 2.0);
|
|
PS0i = R125i.y;
|
|
// 1
|
|
R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R3i.w)) + intBitsToFloat(R0i.z)));
|
|
PV1i.x = R123i.x;
|
|
R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(R3i.w)) + intBitsToFloat(R0i.w)));
|
|
PV1i.y = R123i.y;
|
|
R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R3i.w)) + intBitsToFloat(R2i.x)));
|
|
PV1i.z = R123i.z;
|
|
R125i.w = floatBitsToInt((-(intBitsToFloat(uf_remappedPS[0].z)) * 2.0 + 1.0));
|
|
R124i.x = uf_remappedPS[0].z;
|
|
R124i.x = floatBitsToInt(intBitsToFloat(R124i.x) * 2.0);
|
|
PS1i = R124i.x;
|
|
// 2
|
|
R125i.x = floatBitsToInt((intBitsToFloat(uf_remappedPS[0].x) * 2.0 + -(1.0)));
|
|
R123i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.z),intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(PV1i.x)));
|
|
PV0i.y = R123i.y;
|
|
R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.y),intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(PV1i.y)));
|
|
PV0i.z = R123i.z;
|
|
R123i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R4i.x),intBitsToFloat(uf_remappedPS[1].x)) + intBitsToFloat(PV1i.z)));
|
|
PV0i.w = R123i.w;
|
|
PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R5i.z), intBitsToFloat(R5i.z)));
|
|
// 3
|
|
R127i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(R1i.x)) + intBitsToFloat(0xbb83126f)));
|
|
PV1i.x = R127i.x;
|
|
R126i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[0].y) * 2.0 + -(1.0)));
|
|
R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(R1i.z)) + intBitsToFloat(0xbb83126f)));
|
|
PV1i.z = R127i.z;
|
|
R127i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.z),intBitsToFloat(R1i.y)) + intBitsToFloat(0xbb83126f)));
|
|
PV1i.w = R127i.w;
|
|
R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R0i.y),intBitsToFloat(R0i.y)) + intBitsToFloat(PS0i)));
|
|
PS1i = R122i.x;
|
|
// 4
|
|
R123i.x = floatBitsToInt((intBitsToFloat(PV1i.w) * intBitsToFloat(0x40c66666) + intBitsToFloat(0x3fd9999a)));
|
|
PV0i.x = R123i.x;
|
|
R123i.y = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c66666) + intBitsToFloat(0x3fd9999a)));
|
|
PV0i.y = R123i.y;
|
|
R126i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R5i.y),intBitsToFloat(R5i.y)) + intBitsToFloat(PS1i)));
|
|
R123i.w = floatBitsToInt((intBitsToFloat(PV1i.z) * intBitsToFloat(0x40c66666) + intBitsToFloat(0x3fd9999a)));
|
|
PV0i.w = R123i.w;
|
|
R126i.w = floatBitsToInt((intBitsToFloat(PV1i.x) * intBitsToFloat(0x40c66666) + 0.5));
|
|
PS0i = R126i.w;
|
|
// 5
|
|
R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.z),intBitsToFloat(PV0i.w)) + intBitsToFloat(0x3d75c28f)));
|
|
R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(PV0i.x)) + intBitsToFloat(0x3d75c28f)));
|
|
R123i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.x),intBitsToFloat(PV0i.y)) + intBitsToFloat(0x3d75c28f)));
|
|
PV1i.z = R123i.z;
|
|
R123i.w = floatBitsToInt((intBitsToFloat(R127i.w) * intBitsToFloat(0x40c66666) + 0.5));
|
|
PV1i.w = R123i.w;
|
|
R122i.x = floatBitsToInt((intBitsToFloat(R127i.z) * intBitsToFloat(0x40c66666) + 0.5));
|
|
PS1i = R122i.x;
|
|
// 6
|
|
backupReg0i = R127i.z;
|
|
backupReg1i = R127i.w;
|
|
PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.x), intBitsToFloat(R126i.w)));
|
|
R124i.y = floatBitsToInt((intBitsToFloat(uf_remappedPS[0].z) * 2.0 + -(1.0)));
|
|
R127i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg0i), intBitsToFloat(PS1i)));
|
|
R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(backupReg1i), intBitsToFloat(PV1i.w)));
|
|
PS0i = floatBitsToInt(1.0 / intBitsToFloat(PV1i.z));
|
|
// 7
|
|
R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PS0i)));
|
|
R125i.z = clampFI32(R125i.z);
|
|
PS1i = floatBitsToInt(1.0 / intBitsToFloat(R127i.y));
|
|
// 8
|
|
R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PS1i)));
|
|
R127i.y = clampFI32(R127i.y);
|
|
PS0i = floatBitsToInt(1.0 / intBitsToFloat(R126i.x));
|
|
// 9
|
|
R127i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.z), intBitsToFloat(PS0i)));
|
|
R127i.w = clampFI32(R127i.w);
|
|
PS1i = floatBitsToInt(sqrt(intBitsToFloat(R126i.z)));
|
|
// 10
|
|
R123i.y = floatBitsToInt((mul_nonIEEE(-(intBitsToFloat(PS1i)),intBitsToFloat(uf_remappedPS[2].w)) + intBitsToFloat(uf_remappedPS[2].z)));
|
|
R123i.y = clampFI32(R123i.y);
|
|
PV0i.y = R123i.y;
|
|
// 11
|
|
R127i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.z), intBitsToFloat(PV0i.y)));
|
|
PV1i.x = R127i.x;
|
|
R5i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.y), intBitsToFloat(PV0i.y)));
|
|
PV1i.y = R5i.y;
|
|
R125i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(PV0i.y)));
|
|
PV1i.z = R125i.z;
|
|
// 12
|
|
R1i.x = floatBitsToInt(dot(vec4(intBitsToFloat(PV1i.x),intBitsToFloat(PV1i.y),intBitsToFloat(PV1i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[3].x),intBitsToFloat(uf_remappedPS[3].y),intBitsToFloat(uf_remappedPS[3].z),intBitsToFloat(uf_remappedPS[3].w))));
|
|
PV0i.x = R1i.x;
|
|
PV0i.y = R1i.x;
|
|
PV0i.z = R1i.x;
|
|
PV0i.w = R1i.x;
|
|
// 13
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R5i.y),intBitsToFloat(R125i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[4].x),intBitsToFloat(uf_remappedPS[4].y),intBitsToFloat(uf_remappedPS[4].z),intBitsToFloat(uf_remappedPS[4].w))));
|
|
PV1i.x = tempi.x;
|
|
PV1i.y = tempi.x;
|
|
PV1i.z = tempi.x;
|
|
PV1i.w = tempi.x;
|
|
R127i.w = tempi.x;
|
|
R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x)));
|
|
PS1i = R126i.x;
|
|
// 14
|
|
tempi.x = floatBitsToInt(dot(vec4(intBitsToFloat(R127i.x),intBitsToFloat(R5i.y),intBitsToFloat(R125i.z),intBitsToFloat(R2i.w)),vec4(intBitsToFloat(uf_remappedPS[5].x),intBitsToFloat(uf_remappedPS[5].y),intBitsToFloat(uf_remappedPS[5].z),intBitsToFloat(uf_remappedPS[5].w))));
|
|
PV0i.x = tempi.x;
|
|
PV0i.y = tempi.x;
|
|
PV0i.z = tempi.x;
|
|
PV0i.w = tempi.x;
|
|
R126i.z = tempi.x;
|
|
PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV1i.x), intBitsToFloat(PV1i.x)));
|
|
// 15
|
|
backupReg0i = R126i.x;
|
|
R126i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R124i.z), intBitsToFloat(PS0i)));
|
|
R127i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R2i.y), intBitsToFloat(backupReg0i)));
|
|
PV1i.z = floatBitsToInt(mul_nonIEEE(intBitsToFloat(PV0i.x), intBitsToFloat(PV0i.x)));
|
|
PV1i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R1i.x), intBitsToFloat(R6i.y)));
|
|
PS1i = floatBitsToInt(sqrt(intBitsToFloat(R1i.x)));
|
|
// 16
|
|
backupReg0i = R0i.x;
|
|
PV0i.x = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R127i.w), intBitsToFloat(backupReg0i)));
|
|
R2i.y = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R126i.z), intBitsToFloat(R4i.w)));
|
|
R127i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(R125i.x)) + intBitsToFloat(PV1i.w)));
|
|
PV0i.w = floatBitsToInt(mul_nonIEEE(intBitsToFloat(R125i.w), intBitsToFloat(PV1i.z)));
|
|
PS0i = floatBitsToInt(sqrt(intBitsToFloat(R127i.w)));
|
|
// 17
|
|
backupReg0i = R126i.x;
|
|
backupReg1i = R127i.y;
|
|
R126i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R127i.w),intBitsToFloat(R125i.y)) + intBitsToFloat(backupReg0i)));
|
|
R127i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS0i),intBitsToFloat(R126i.y)) + intBitsToFloat(PV0i.x)));
|
|
R124i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R1i.x),intBitsToFloat(R2i.z)) + intBitsToFloat(backupReg1i)));
|
|
R125i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(R126i.z),intBitsToFloat(R124i.x)) + intBitsToFloat(PV0i.w)));
|
|
PS1i = floatBitsToInt(sqrt(intBitsToFloat(R126i.z)));
|
|
// 18
|
|
R123i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PS1i),intBitsToFloat(R124i.y)) + intBitsToFloat(R2i.y)));
|
|
PV0i.x = R123i.x;
|
|
PV0i.y = ((intBitsToFloat(R126i.z) >= 0.5)?int(0xFFFFFFFF):int(0x0));
|
|
PV0i.z = ((intBitsToFloat(R127i.w) >= 0.5)?int(0xFFFFFFFF):int(0x0));
|
|
PV0i.w = ((intBitsToFloat(R1i.x) >= 0.5)?int(0xFFFFFFFF):int(0x0));
|
|
PS0i = floatBitsToInt(mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].z), intBitsToFloat(R125i.z)));
|
|
// 19
|
|
R123i.x = ((PV0i.w == 0)?(R124i.z):(R127i.z));
|
|
PV1i.x = R123i.x;
|
|
R123i.z = ((PV0i.y == 0)?(R125i.w):(PV0i.x));
|
|
PV1i.z = R123i.z;
|
|
R123i.w = ((PV0i.z == 0)?(R126i.x):(R127i.y));
|
|
PV1i.w = R123i.w;
|
|
R122i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].y),intBitsToFloat(R5i.y)) + intBitsToFloat(PS0i)));
|
|
PS1i = R122i.x;
|
|
// 20
|
|
PV0i.x = floatBitsToInt(-(intBitsToFloat(R127i.w)) + intBitsToFloat(PV1i.w));
|
|
PV0i.y = floatBitsToInt(-(intBitsToFloat(R1i.x)) + intBitsToFloat(PV1i.x));
|
|
PV0i.w = floatBitsToInt(-(intBitsToFloat(R126i.z)) + intBitsToFloat(PV1i.z));
|
|
R5i.w = floatBitsToInt((mul_nonIEEE(intBitsToFloat(uf_remappedPS[6].x),intBitsToFloat(R127i.x)) + intBitsToFloat(PS1i)));
|
|
PS0i = R5i.w;
|
|
// 21
|
|
R5i.x = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.y),intBitsToFloat(uf_remappedPS[0].w)) + intBitsToFloat(R1i.x)));
|
|
R5i.y = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.x),intBitsToFloat(uf_remappedPS[0].w)) + intBitsToFloat(R127i.w)));
|
|
R5i.z = floatBitsToInt((mul_nonIEEE(intBitsToFloat(PV0i.w),intBitsToFloat(uf_remappedPS[0].w)) + intBitsToFloat(R126i.z)));
|
|
// export
|
|
passPixelColor0 = clamp(vec4(intBitsToFloat(R5i.x), intBitsToFloat(R5i.y), intBitsToFloat(R5i.z), intBitsToFloat(R5i.w))*$cutsceneBrightness, 0.0, 1.0);
|
|
}
|