 guest Guest |
Quote
|
2024-08-10 00:18:50 |
|
gameboy shader
 🔎︎
|
 Guest Guest |
Quote
|
2024-08-10 00:46:59 |
|
Use a red overlay for the Virtual Boy.
|
 guest Guest |
Quote
|
2024-08-10 13:12:17 |
|
Guest you right, thats good idea
 🔎︎
|
 guest Guest |
Quote
|
2024-08-10 13:14:11 |
|
virtual boy palette look even better
|
 veganpete. Registered User |
Quote
|
2024-08-10 15:23:31 |
|
Ooh, they both look really nice!
|
 guest Guest |
Quote
|
2024-08-10 17:56:41 |
|
veganpete.thank you, i have currently decided to rewrite the shader, keeping it 4-bit while allowing color selection in the editor to achieve different effects
 🔎︎
|
 okeoke Registered User |
Quote
|
2024-08-10 23:08:57 |
|
Nice! Looks awesome!
|
 Guest Guest |
Quote
|
2024-08-11 01:20:37 |
|
@OP
I made a similar shader in GLSL, but I made it so it would replace the following colors: black, white, gray, silver. If you want to do something like ZX Spectrum, just black and white will suffice. Then I made it so it selected from a tilemap and replaced the colors in that material only before applying it to the buffer. Make sure you use JIC's color correction code, too. A setup like that is killer for a solo dev (especially if you use only a 128x128 texture atlas or so). Just my two cents. I don't like HLSL much, so I never translated it.
|
 Guest Guest |
Quote
|
2024-08-11 01:23:29 |
|
One last thing, make sure that you check that your shader works on Windows 7. Mine didn't for some reason, so I had to set the shader model in the code and switch some code around to get it to work properly. It eventually did. Supporting older tech is a nice touch, I think.
|
 guest - SamGrady Guest |
Quote
|
2024-08-11 12:00:57 |
|
okeoke thanks, i borrowed my sister laptop again for a while and decided to practice with shaders while I have the opportunity)
|
 guest Guest |
Quote
|
2024-08-11 12:05:25 |
|
Guest i dont know about JIC's color correction code, but as for GLSL, its certainly much simpler than HLSL in terms of syntax, but i prefer HLSL because its more functional.
|
 o139 Registered User |
Quote
|
2024-08-11 12:07:08 |
|
cool shader!
|
 guest Guest |
Quote
|
2024-08-11 12:13:13 |
|
o139 thank you, i truly appreciate your praise
|
 just_in_case Moderator |
Quote
|
2024-08-12 07:14:08 |
|
@samGrady, Great shaders, if you are willing to update the shader to be editable from the editor directly with the color parameters then yeah, you can utilize the colo conversion code.
Coppercube behavior parameters use decimal color codes, that need to be converted in order to make them work with the shaders otherwise they won't show up as expected.
We need more shaders like this, thanks a lot for sharing :)
|