mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix MSAA x16
This commit is contained in:
parent
baf04e75d9
commit
c9787846d5
@ -13,12 +13,12 @@ vec4 aa_apply(sampler2DMS tex, vec2 fragCoord, vec2 resolution) {
|
||||
vec4 sample8 = texelFetch(tex, texel_coord, 7);
|
||||
vec4 sample9 = texelFetch(tex, texel_coord, 8);
|
||||
vec4 sample10 = texelFetch(tex, texel_coord, 9);
|
||||
vec4 sample11 = texelFetch(tex, texel_coord, 11);
|
||||
vec4 sample12 = texelFetch(tex, texel_coord, 12);
|
||||
vec4 sample13 = texelFetch(tex, texel_coord, 13);
|
||||
vec4 sample14 = texelFetch(tex, texel_coord, 14);
|
||||
vec4 sample15 = texelFetch(tex, texel_coord, 15);
|
||||
vec4 sample16 = texelFetch(tex, texel_coord, 16);
|
||||
vec4 sample11 = texelFetch(tex, texel_coord, 10);
|
||||
vec4 sample12 = texelFetch(tex, texel_coord, 11);
|
||||
vec4 sample13 = texelFetch(tex, texel_coord, 12);
|
||||
vec4 sample14 = texelFetch(tex, texel_coord, 13);
|
||||
vec4 sample15 = texelFetch(tex, texel_coord, 14);
|
||||
vec4 sample16 = texelFetch(tex, texel_coord, 15);
|
||||
|
||||
// Average Samples
|
||||
vec4 msaa_color = (
|
||||
|
Loading…
Reference in New Issue
Block a user