1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Retro shader!

Discussion in 'Modding [KAG]' started by Asu, Aug 10, 2013.

  1. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Do you think KAG is not enough retro?
    Sometimes I think it.

    So I implanted the Geom's CRT shader into KAG. I almost had a heart attack because there were no error at the first test. :eek:

    Working both on Classic/Beta.

    Screenshots :
    (click to zoom, you should see nothing unzoomed :p)
    KAG 2013-08-10 09-49-28-11.png
    Setup :
    Unzip hq2x.zip into your /Base/Shaders/ folder. Open both files and change
    on both files.
    Note the .0 at the end, it is necessary for the shader to work! Separate your width and your height with ", "
    Note that there is not rubyInputSize into hq2x.frag .

    You need the 'smooth shader' enbaled to work. Restart your game after installing. If the shader doesn't work ( No changes and no more smoothness ), remove the #version 330 at the top of hq2x.frag. Warning, this shader erases the smooth shader because it would look crappy. Bloom coming later.
    </br>--- merged: Aug 10, 2013 at 11:12 AM ---</br>
    Bump, I've edited the topic, added how to install and screenshots.
     

    Attached Files:

  2. ColbyCheez

    ColbyCheez Horde Gibber

    Messages:
    20
    Good job! Now I feel that I'm playing kag on a very old Tv screeen!
     
  3. Sirpixelot

    Sirpixelot Base Burner
    1. Aphelion's Roleplay

    Messages:
    776
    I cant get the thing to work D:
    Every time I try it either doesnt work, or leaves me black screened when I zoom in. Ish dun understand!!! ;w;
     
  4. qpKillerqp

    qpKillerqp Haxor

    Messages:
    99
    I tested this...Same problem as Sirpixelot...any idea?
     
  5. Inferdy

    Inferdy Arsonist

    Messages:
    246
    did you changed resolution in files? did you made it without mistakes?
     
  6. qpKillerqp

    qpKillerqp Haxor

    Messages:
    99
    Yes I did...I even tried changing between fullscreen and deleted #version 330 at the top of hq2x.frag...I tried different resolutions too
     
  7. Inferdy

    Inferdy Arsonist

    Messages:
    246
    vec2 rubyInputSize = vec2(1366.0, 768.0);
    vec2 rubyTextureSize = vec2(1366.0, 768.0);
    vec2 rubyOutputSize = vec2(1366.0, 768.0);
    here shouldn't be 1366, 768 here should be your resolution of KAG!
     
  8. Sirpixelot

    Sirpixelot Base Burner
    1. Aphelion's Roleplay

    Messages:
    776
    Oh wait... so... that's suppost to be my resolution? o -o
    OH... makes perfect sense xD
    --- Double Post Merged, Sep 6, 2013, Original Post Date: Sep 6, 2013 ---
    No jk... still didnt fix it really. :o
     
  9. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Graphic card?