PageSourceSearch

https://radiotoranj.com/wp-content/plugins/astroidz/assets/js/shaders/CopyShader.js?ver=1.0.1

js radiotoranj.com collected 2026-10-02 16:03:59 UTC 622 bytes, 46 lines download raw bytes

1/**
2 * @author alteredq / http://alteredqualia.com/
3 *
4 * Full-screen textured quad shader
5 */
6
7THREE.CopyShader = {
8
9	uniforms: {
10
11		"tDiffuse": { value: null },
12		"opacity":  { value: 1.0 }
13
14	},
15
16	vertexShader: [
17
18		"varying vec2 vUv;",
19
20		"void main() {",
21
22			"vUv = uv;",
23			"gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );",
24
25		"}"
26
27	].join( "\n" ),
28
29	fragmentShader: [
30
31		"uniform float opacity;",
32
33		"uniform sampler2D tDiffuse;",
34
35		"varying vec2 vUv;",
36
37		"void main() {",
38
39			"vec4 texel = texture2D( tDiffuse, vUv );",
40			"gl_FragColor = opacity * texel;",
41
42		"}"
43
44	].join( "\n" )
45
46};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.