Work on textures and lighting
This commit is contained in:
@@ -33,6 +33,8 @@ void main()
|
||||
{
|
||||
sumFive += vec4(texture(screenTexture, vTexPos + fiveOff[i]));
|
||||
}
|
||||
//sumFive = sumFive * 3 * sin(dot(vTexPos,vTexPos) * 10000);
|
||||
//fColor = vec4 ( max( (sumFive / 10) , texture(screenTexture,vTexPos) ) );
|
||||
fColor = vec4 ( max( (sumFive / 10) , texture(screenTexture,vTexPos) ) );
|
||||
//fColor = max(texture(screenTexture,vTexPos), sumFive / 5);
|
||||
//fColor = vec4 ( (sumFive / 5).rgb, max((sumFive/5.0).a,texture(screenTexture,vTexPos).a) );
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
in vec2 vTexPos;
|
||||
out vec4 fColor;
|
||||
|
||||
uniform sampler2D screenTexture;
|
||||
layout (binding = 0) uniform sampler2D screenTexture;
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user