Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

porting shadertoy to pixi (and a texture mystery)

$
0
0

Greetings!

I've been porting this shadertoy shader to pixi js.

It's compiling and running well.

However, there seems to be a weird artifact in the rendered background and I'm guessing it's related to my poor knowledge of how pixi passes texture coordinates to the shader.

In my codepen here you can see my latest attempt.

The background image as seen here, renders as vertical strips in the pixi filter.

It appears as if the top row of pixels of the image is repeated vertically??

I feel like it's something simple that I'm overlooking but wonder if anyone might have any insight as to why the striping is happening?

Thank you to all the pixi / shader wizards here who might be able to please shed light on this.

Cheers!

ps -> i'm running pixi 6.5.8


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>