forked from SinTh0r4s/HydroEnergy
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed opengl mistake, NPE Protection
- Loading branch information
Johann Bernhardt
committed
Mar 10, 2021
1 parent
1e42f0b
commit e7e6b53
Showing
6 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/main/resources/assets/hydroenergy/shader/hewater/shader.fsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#version 330 | ||
|
||
in vec3 colorModifier; | ||
in vec2 texCoord; | ||
in vec2 lightCoord; | ||
|
1 change: 0 additions & 1 deletion
1
src/main/resources/assets/hydroenergy/shader/hewater/shader.gsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#version 330 core | ||
layout (points) in; | ||
layout (triangle_strip, max_vertices = 30) out; | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
src/main/resources/assets/hydroenergy/shader/hewater/shader.vsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters