Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "some cleanup in lensflare code"
This reverts commit 758c638.
- Loading branch information
1 parent
172c96b
commit 43f103f
Showing
5 changed files
with
45 additions
and
0 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
in vec2 TexCoord; | ||
out vec4 FragColor; | ||
|
||
uniform sampler2D InputTexture; | ||
|
||
uniform vec4 Scale; | ||
uniform vec4 Bias; | ||
|
||
void main() { | ||
FragColor = texture(InputTexture, TexCoord);//max(vec4(0.0), texture(InputTexture, TexCoord) + Bias) * Scale; | ||
} |