Updated bloom example shaders
This commit is contained in:
parent
bfd0a2e0b4
commit
927660680d
10 changed files with 19 additions and 23 deletions
|
|
@ -8,6 +8,7 @@ layout (location = 0) in vec3 inPos;
|
|||
layout (binding = 0) uniform UBO
|
||||
{
|
||||
mat4 projection;
|
||||
mat4 view;
|
||||
mat4 model;
|
||||
} ubo;
|
||||
|
||||
|
|
@ -22,5 +23,5 @@ out gl_PerVertex
|
|||
void main()
|
||||
{
|
||||
outUVW = inPos;
|
||||
gl_Position = ubo.projection * ubo.model * vec4(inPos.xyz, 1.0);
|
||||
gl_Position = ubo.projection * ubo.view * ubo.model * vec4(inPos.xyz, 1.0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue