Job Offer - Programmer Looking for someone to create a simple shader for me $35USD

Discussion in 'Collaboration' started by 2DKnights, Sep 9, 2019.

  1. 2DKnights

    2DKnights Member

    Joined:
    Nov 6, 2016
    Posts:
    43
    Hi I'm looking for a coder to create a CRT Shader. The shader should be applied to the default application surface as I want it to show over everything.

    I really like the shaders used in Blazing Chrome and I would like to have something like those. The look I want for the shader is demonstrated below. Notice the shader can either be flat or have a slight barrel effect with a thin vignette around the edge. I wrote an existing CRT shader that just draws lines across the screen over 50% of a stretched pixel and it can be modified if need be. It's uncommented, but if you dont understand the fragment shader code this job probably isn't a good fit for you lol. Also if you want to start from scratch feel free to do so as well.


    Completion of this shader can lead to more work, so serious inquiries only. Send me a private message if interested. Post questions to the topic.


    Code:
    // Barebones CRT fragment shader
    varying vec2  v_vTexcoord;
    varying vec4  v_vColour;
    uniform float scale;
    uniform float strength;
    
    void main() {   
        vec4 CrtColor = vec4(1.0,1.0,1.0,1.0);
        int  edge_scale = int(scale / 2.0);
        bool top_half = int(mod(gl_FragCoord.y,scale)) < edge_scale;
        
        if (top_half) {
            CrtColor.rgb = vec3(strength, strength, strength);
        }//end if
        
        gl_FragColor =  CrtColor * v_vColour * texture2D( gm_BaseTexture, v_vTexcoord ) ;   
    }//end fragment shader
    
    (Curvature & Vignette)
    Example 2.jpg


    (Flat) Example1.jpg


    (Detail 400x)
    Detail.png
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice