Compare commits
1 commit
9cd6c6dc13
...
4436a87d31
Author | SHA1 | Date | |
---|---|---|---|
4436a87d31 |
1 changed files with 0 additions and 1 deletions
|
@ -18,7 +18,6 @@ const vec2 w_pos[49] = vec2[] (
|
|||
);
|
||||
const float w_sum = 21.045683f;
|
||||
vec4 textureLanczos(sampler2D textureSampler, vec2 p) {
|
||||
const int r = 3; //radius (1 = 3 steps)
|
||||
vec3 c_sum = vec3(0.0f);
|
||||
vec2 res = vec2(textureSize(textureSampler, 0));
|
||||
vec2 cc = floor(p * res) / res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue