New Text Document
New Text Document
( function() {
'use strict';
}
} );
if( window.observer != undefined ) {
window.observer.disconnect();
}
window.MutationObserver = {
observe : function() {
console.log( "Observed" );
}
};
if( window.location.href.indexOf( "/a" ) != -1 ) {
window.location.href = "https://kour.io";
}
var gl = null;
const handler = {
apply( target, thisArgs, args ) {
const program =
thisArgs.getParameter( thisArgs.CURRENT_PROGRAM );
if( !program.uniforms ) {
program.uniforms = {
enabled: thisArgs.getUniformLocation( program,
'enabled' ),
threshold: thisArgs.getUniformLocation( program,
'threshold' )
};
}
var couldBePlayer = true;
var threshold = 4.5;
program.uniforms.enabled &&
thisArgs.uniform1i( program.uniforms.enabled, couldBePlayer );
program.uniforms.threshold &&
thisArgs.uniform1f( program.uniforms.threshold, threshold );
if( couldBePlayer ) {
gl = thisArgs;
}
Reflect.apply( ...arguments );
}
};
void main() {
enabled = 0.0;
` );
if( src.indexOf( "hlslcc_mtx4x4unity_WorldToObject" ) != -1
&& src.indexOf( "_MaskSoftnessX" ) == -1
&& src.indexOf( "vs_TEXCOORD5.xyz = unity_SHC.xyz *
vec3(u_xlat16_2) + u_xlat16_3.xyz;" ) != -1
&& src.indexOf( "_DetailAlbedoMap_ST" ) != -1
&& src.indexOf( "vs_TEXCOORD1.w = 0.0;" ) != -1
) {
src = src.replace( "enabled = 0.0", `enabled = 1.0;
if( in_POSITION0.y > 10.0 ) {
//enabled = 2.0;
}` );
src = src.replace( /return;/, `
gl_Position.z = 0.01 + gl_Position.z * 0.1;
` );
}
in float vDepth;
in float enabled;
void main
` ).replace( /return;/, `
` );
}
args[ 1 ] = src;
return Reflect.apply( ...arguments );
}
} );
} )();