403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/chatme24.com/wwwroot/_server/city_js/dev/data/scripts/hall/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/chatme24.com/wwwroot/_server/city_js/dev/data/scripts/hall/dof-fs.glsl
varying vec2 vUv;
uniform sampler2D tInput;
uniform sampler2D tBias;
uniform float focalDistance;
uniform float aperture;
uniform float blurAmount;
uniform vec2 delta;

float random(vec3 scale,float seed){return fract(sin(dot(gl_FragCoord.xyz+seed,scale))*43758.5453+seed);}

float unpack_depth(const in vec4 color) {
	return ( color.r * 256. * 256. * 256. + color.g * 256. * 256. + color.b * 256. + color.a ) / ( 256. * 256. * 256. );
}

float sampleBias( vec2 uv ) {
	float d = abs( texture2D( tBias, uv ).r - focalDistance );
	return min( d * aperture, .005 );
	//return unpack_depth( texture2D( tBias, uv ) );
}

void main() {

	vec4 sum = vec4( 0. );
	float bias = sampleBias( vUv );

	sum += texture2D( tInput, ( vUv - bias * delta * 4. ) ) * 0.051;
	sum += texture2D( tInput, ( vUv - bias * delta * 3. ) ) * 0.0918;
	sum += texture2D( tInput, ( vUv - bias * delta * 2. ) ) * 0.12245;
	sum += texture2D( tInput, ( vUv - bias * delta * 1. ) ) * 0.1531;
	sum += texture2D( tInput, ( vUv + bias * delta * 0. ) ) * 0.1633;
	sum += texture2D( tInput, ( vUv + bias * delta * 1. ) ) * 0.1531;
	sum += texture2D( tInput, ( vUv + bias * delta * 2. ) ) * 0.12245;
	sum += texture2D( tInput, ( vUv + bias * delta * 3. ) ) * 0.0918;
	sum += texture2D( tInput, ( vUv + bias * delta * 4. ) ) * 0.051;

	gl_FragColor = sum;
	
}

Youez - 2016 - github.com/yon3zu
LinuXploit