+ Bloom effect + PixelInformation + Many Summaries + Add-methods for CVectors + Exposure-Field in GenericCamera for HDR. ~ ColorAttachments now can have PixelInformation ~ Transformed MeshAttributes to a own class ~ Fixed the non-applying of transformations at texts ~ Added more information to the context ~ Improved Pipeline-Process. ~ Changed how Uniform takes arrays - Light system
13 lines
No EOL
238 B
GLSL
13 lines
No EOL
238 B
GLSL
#version 330
|
|
|
|
in vec2 vTexture;
|
|
|
|
uniform sampler2D renderedTexture;
|
|
|
|
vec4 GetRenderColor() {
|
|
return texture(renderedTexture, vTexture);
|
|
}
|
|
|
|
vec4 GetRenderColorOffset(vec2 offset) {
|
|
return texture(renderedTexture, vTexture + offset);
|
|
} |