Dupletor
Member
Hello, I'm using a tutorial in order to make a flag effect:
Everything was good, and if I apply my modified shader to a large picture, this happens:
Which is around the effect I want.
However, if I apply it to a smaller picture, without changing the distort map (which is 256x256):
It gets blurry, and hard limited on the left and down:
. . .
The hard limit I fixed by giving empty borders on the image, and applying the distort map on the empty borders.
Is it possible to apply the shader on a large picture, rescale it to the smaller size, and then draw it smaller on application surface without this blur, or something?
Everything was good, and if I apply my modified shader to a large picture, this happens:
Which is around the effect I want.
However, if I apply it to a smaller picture, without changing the distort map (which is 256x256):
It gets blurry, and hard limited on the left and down:
. . .
The hard limit I fixed by giving empty borders on the image, and applying the distort map on the empty borders.
Is it possible to apply the shader on a large picture, rescale it to the smaller size, and then draw it smaller on application surface without this blur, or something?
Last edited: