Diep Shaders

Nothing to see here

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greatest.deepsurf.us/scripts/372703/632906/Diep%20Shaders.js

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

(function() {
    'use strict';

    var c = document.getElementById('canvas');
    var ctx = c.getContext("2d");
    var c2 = document.createElement('canvas');
    var ctx2 = c2.getContext('2d');
    var c3 = document.createElement('canvas');
    var ctx3 = c3.getContext('2d');
    c2.width = c.width;
    c2.height = c.height;
    c3.width = c.width;
    c3.height = c.height;
    document.getElementsByTagName('body')[0].appendChild(c2);
    document.getElementsByTagName('body')[0].appendChild(c3);
    c2.style.position = "absolute";
    c2.style.top = "0px";
    c2.style.left = "0px";
    c2.style.zIndex = -1;
    c3.style.position = "absolute";
    c3.style.top = "0px";
    c3.style.left = "0px";
    c3.style.zIndex = -2;
    c2.style.filter = "blur(10px) contrast(0%) saturate(0%) brightness(20%)";
    window.addEventListener("resize", function() {
        c2.width = c.width;
        c2.height = c.height;
        c3.width = c.width;
        c3.height = c.height;
    }, false);
    var mP = { x: 0, y: 0 };
    window.addEventListener("mousemove", function(e) {
        mP = { x: e.clientX, y: e.clientY };
    }, false);
    c.style.opacity = 1;
    var i = 0;
    var shaderButton = document.createElement('button');
    document.getElementsByTagName('body')[0].appendChild(shaderButton);
    shaderButton.style = "position:absolute; top:10px; left:10px;";
    shaderButton.innerHTML = "On";
    shaderButton.onclick = function() {input.set_convar('ren_background', false);}
    function loop1() {
        i++;
        ctx3.fillStyle = "hsl(0, 0%, 90%)";
        ctx3.fillRect(0, 0, c2.width, c2.height);
        ctx2.clearRect(0, 0, c2.width, c2.height);
        ctx2.drawImage(c, 20, 20);
        setTimeout(loop1, 1000 / 30);
    }
    loop1();
})();