This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Review GLSL 120 shaders
Not tested, could have errors
pull/384/head
Ray San
7 years ago
parent
81518ccd13
commit
4fe8e05a7f
15 changed files
with
0 additions
and
30 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
examples/shaders/resources/shaders/glsl120/base.fs
+0
-2
examples/shaders/resources/shaders/glsl120/bloom.fs
+0
-2
examples/shaders/resources/shaders/glsl120/blur.fs
+0
-2
examples/shaders/resources/shaders/glsl120/cross_hatching.fs
+0
-2
examples/shaders/resources/shaders/glsl120/cross_stitching.fs
+0
-2
examples/shaders/resources/shaders/glsl120/distortion.fs
+0
-2
examples/shaders/resources/shaders/glsl120/dream_vision.fs
+0
-2
examples/shaders/resources/shaders/glsl120/fisheye.fs
+0
-2
examples/shaders/resources/shaders/glsl120/grayscale.fs
+0
-2
examples/shaders/resources/shaders/glsl120/pixelizer.fs
+0
-2
examples/shaders/resources/shaders/glsl120/posterization.fs
+0
-2
examples/shaders/resources/shaders/glsl120/predator.fs
+0
-2
examples/shaders/resources/shaders/glsl120/scanlines.fs
+0
-2
examples/shaders/resources/shaders/glsl120/sobel.fs
+0
-2
examples/shaders/resources/shaders/glsl120/swirl.fs
+ 0
- 2
examples/shaders/resources/shaders/glsl120/base.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/bloom.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/blur.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/cross_hatching.fs
View File
@ -1,7 +1,5 @@
#
version
120
#
version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/cross_stitching.fs
View File
@ -1,7 +1,5 @@
#
version
120
#
version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/distortion.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/dream_vision.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/fisheye.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/grayscale.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/pixelizer.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/posterization.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/predator.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/scanlines.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/sobel.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
+ 0
- 2
examples/shaders/resources/shaders/glsl120/swirl.fs
View File
@ -1,7 +1,5 @@
#version
120
#version
120
precision
mediump
f
l
o
a
t
;
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
//
Input
vertex
attributes
(from
vertex
s
h
a
d
e
r
)
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec2
f
r
a
g
T
e
x
C
o
o
r
d
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
varying
vec4
f
r
a
g
C
o
l
o
r
;
Write
Preview
Loading…
Cancel
Save