itch.io is community of indie game creators and players

Devlogs

Update: Custom Texture Support for Screen Shaders

CopperCube Screen Shader Extension
A downloadable asset pack for Windows

You can now manually assign textures in the CopperCube editor, making it possible to use them in shaders. This allows for effects like dithering patterns, overlays, or other static textures.

Now, you can access these textures in your HLSL shaders using:

sampler2D tex0 : register(s0); // Main render texture
sampler2D tex1 : register(s1); // Manually assigned texture   
sampler2D tex2 : register(s2); // Manually assigned texture
sampler2D tex3 : register(s3); // Manually assigned texture

Only s0 is used for render-to-texture, and there is no depth buffer, but this change enables more flexibility for custom screen shaders.

Files

  • action_renderToTextureScreenShader.js 8.9 kB
    Feb 20, 2025
Download CopperCube Screen Shader Extension
Leave a comment