Create/Update assets for version 3D Shareware v1.34

This commit is contained in:
InventiveBot
2019-04-06 17:15:10 +00:00
parent 1bf0091912
commit 9b338a0c8d
10091 changed files with 549941 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#version 120
uniform sampler2D DiffuseSampler;
varying vec2 texCoord;
uniform float InverseAmount;
void main(){
vec4 diffuseColor = texture2D(DiffuseSampler, texCoord);
vec4 invertColor = 1.0 - diffuseColor;
vec4 outColor = mix(diffuseColor, invertColor, InverseAmount);
gl_FragColor = vec4(outColor.rgb, 1.0);
}