diff --git a/crt/shaders/geom-deluxe/phosphor_update.slang b/crt/shaders/geom-deluxe/phosphor_update.slang index 0394611..36e9a9d 100644 --- a/crt/shaders/geom-deluxe/phosphor_update.slang +++ b/crt/shaders/geom-deluxe/phosphor_update.slang @@ -18,12 +18,12 @@ void main() layout(location = 0) in vec2 vTexCoord; layout(location = 0) out vec4 FragColor; layout(set = 0, binding = 2) uniform sampler2D Source; -layout(set = 0, binding = 3) uniform sampler2D phosphor; +layout(set = 0, binding = 3) uniform sampler2D phosphorFeedback; void main() { vec4 screen = texture(Source, vTexCoord); - vec4 phosphor = texture(phosphor, vTexCoord); + vec4 phosphor = texture(phosphorFeedback, vTexCoord); vec3 lum = vec3(0.299,0.587,0.114); float bscrn = dot(pow(screen.rgb,vec3(gamma)),lum); @@ -38,4 +38,4 @@ void main() : vec4(phosphor.rg, (floor(phosphor.b*255.0/4.0)*4.0 + floor(t/256.0))/255.0, fract(t/256.0)*256.0/255.0 ) ); -} \ No newline at end of file +}