it worked but the result was completely buggy. Sprites, lines and etc. were all white and without transparency, and the texts (sprite font) even show changed characters.
I think I will give up using shader, thank you so much for trying =]
Search found 5 matches
- Tue Nov 24, 2020 12:55 pm
- Forum: General
- Topic: TIC-80 CRT shader
- Replies: 9
- Views: 6717
- Tue Nov 24, 2020 11:49 am
- Forum: General
- Topic: TIC-80 CRT shader
- Replies: 9
- Views: 6717
Re: TIC-80 CRT shader
I've made it work by replacing main() with this: vec4 effect(vec4 colour, Image texture, vec2 texpos, vec2 scrpos) { hardScan=-12.0; //maskDark=maskLight; vec2 start=scrpos-vec2(trg_x, trg_y); vec2 pos=Warp(start/vec2(trg_w, trg_h)); vec4 result; result.rgb=Tri(pos)*Mask(scrpos); result = vec4(ToSr...
- Mon Nov 23, 2020 3:18 pm
- Forum: General
- Topic: TIC-80 CRT shader
- Replies: 9
- Views: 6717
Re: TIC-80 CRT shader
There is no specific license for the shader, but the TIC-80 project as a whole is distributed under the MIT license.
- Mon Nov 23, 2020 1:36 pm
- Forum: General
- Topic: TIC-80 CRT shader
- Replies: 9
- Views: 6717
Re: TIC-80 CRT shader
I tried the moonshine but the result is not so good.
- Sun Nov 22, 2020 10:58 pm
- Forum: General
- Topic: TIC-80 CRT shader
- Replies: 9
- Views: 6717
TIC-80 CRT shader
Hi, I intend to port an improved version of the game that I am finalizing on the TIC-80: (click to view full image) https://i.ibb.co/fQsbM3c/00.png https://i.ibb.co/0hGXf2w/01.png https://i.ibb.co/hfbLm4j/02.png https://i.ibb.co/sj3spgt/03.png I would like to know if anyone can convert the CRT shade...