Screen Shaders (CopperCube extension)
A downloadable Extension
Note:- It only works with CopperCube 6.6 and above and not with the previous versions.
A CopperCube shader action that allows you to use screen shaders in your CopperCube projects. Work with both DirectX and OpenGL. You can use the same technique to create post effects and transitions for the screen or game there are so many possibilities.
Works pretty well with all the existing lighting and other effects and just adjusts the final screen output. There are an infinite amount of use cases when extended with custom shaders and effects. You can use shader-toy to add more custom shader effects to the source.
https://www.shadertoy.com/
Right now the shader supports basic properties that I think are generally required for most of the screen or games to be adjusted.
Properties:-
- OpenGL = Enables the shader action for OpenGL otherwise for DirectX
- Brightness = Controls the brightness of the screen (Range: -1.0 to 1.0)
- Contrast = Controls the contrast of the screen (Range: 0.0 and above)
- Gamma = Controls the gamma correction (Range: 0.0 and above)
- Saturation = Controls the saturation (Range: 0.0 and above)
- Hue = Controls the hue rotation (Range: 0.0 to 360)
- Vibrance = Controls the vibrance of the screen (Range: -1.0 to 1.0)
- Tint = Controls the color of the tinted screen
- CRT_Effect = Enables or disables the CRT screen effect
You can control the properties with variables during runtime, or can simply apply the shader again with different parameters, but it is recommended to use the available variables to change the parameters during runtime. Below is the list of all the available variables.
Variables:-
ScreenShader.Brightness
ScreenShader.Contrast
ScreenShader.Gamma
ScreenShader.Sauration
ScreenShader.Hue
ScreenShader.Vibrance
Usage:-
For detailed information and the usage watch the video.
For any questions and queries contact me on my Discord server.
Discord:- https://discord.gg/RKcq89S7uA
Status | Released |
Category | Tool |
Rating | Rated 5.0 out of 5 stars (3 total ratings) |
Author | Glitched Velocity |
Genre | Adventure, Platformer |
Tags | 2D, 3D, coppercube, Game Boy, Game Design, Game engine, Horror, Shaders |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
Hmmm, no matter what I do I can't get this to work at all. I have an old card a GT 1030 do you think that's why? It's just blank for me always I tried the moving extensions to another folder thing...
This has nothing to do with the graphic card, it is a bug with Coppercube itself. I am not sure how you tried moving the extensions to other folder. I suggest you to just put this action only in the extensions directory and move all the extensions to a different location. Then close Coppercube editor if it is running already, now restart Coppercube and check if it shows up in the scripted actions.
It does show up in the scripted actions but for some reason it just stays fully transparent once I put it to (transparent add) with a black texture. Once I put the shader on it stays transparent but I can't see any of the shader stuff. I tried changing it back to solid to see if it's in front of the camera and it is so I'm not sure what I did wrong. Pretty much I followed your video exactly so that's why I was thinking it must be something wrong with my graphics settings idk. Don't get any console errors and I made sure it's openGL both things so it SHOULD work I think but for some reason I don't see the shader effects
strange, can you please join the discord? and maybe share the .ccb file there. or a sample file. So that I can check and understand why it is not working for you.
I tried this out... and I get a blank nothing when I add the action to the before first drawing Behavior. I'm using CopperCube professional version. Any idea why this is happening?
Oh that’s actually not an issue with my Shader action. It’s a really annoying Glitch/Bug in Coppercube itself. You can easily fix it by moving all the extensions from CopperCube extension directory to a temporary directory, for example, create a new folder inside the CopperCube extension directory and move all the extensions to that directory. Now just copy the Shader Action only to CopperCube extensions directory and restart CC or reload the extensions and plugins, now you will be able to use the shader action normally, after adding the Shader Action you can move back all the extensions back to the Original CopperCube directory. Hope that will fix your problem.
That worked! Amazing.
Thank you,
M
If it's possible, it brings the effects: fisheye, dirty lenses and filmic grain, please your plugin is very good congratulations keep it up
and Chromatic Aberration
yes, it is possible..