diff options
| author | Patrick | 2021-03-23 19:28:28 +0100 |
|---|---|---|
| committer | Patrick | 2021-03-23 19:28:28 +0100 |
| commit | a0fdc6d882a1755d0b0607ba3d9bb55e7f8ac006 (patch) | |
| tree | 82aab3828111378b6f0421aa58025b43f98f13a2 /shaders/vert.glsl | |
| parent | cedffd5cf24c1a3ed64161475c806c55135406be (diff) | |
| download | subsurface_scattering-a0fdc6d882a1755d0b0607ba3d9bb55e7f8ac006.tar.gz subsurface_scattering-a0fdc6d882a1755d0b0607ba3d9bb55e7f8ac006.zip | |
fix translucency, add gaussian blur to shader
Diffstat (limited to 'shaders/vert.glsl')
| -rw-r--r-- | shaders/vert.glsl | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/shaders/vert.glsl b/shaders/vert.glsl deleted file mode 100644 index 6f48573..0000000 --- a/shaders/vert.glsl +++ /dev/null @@ -1,18 +0,0 @@ -#version 330 core
-
-layout (location = 0) in vec3 pos;
-layout (location = 1) in vec3 normal;
-
-out vec3 FragPos;
-out vec3 Normal;
-
-uniform mat4 model;
-uniform mat4 view;
-uniform mat4 projection;
-
-void main()
-{
- gl_Position = projection * view * model * vec4(pos, 1.0);
- FragPos = vec3(model * vec4(pos, 1));
- Normal = normal;
-}
|
