Search the Community
Showing results for tags 'fisheye'.
Found 2 results
denis.kildishev posted a topic in Pixi.jsHello! I'm trying to adapt shaders from this sample to Pixi JS custom filter: https://jywarren.github.io/fisheye-correction-webgl/ https://github.com/bluemir/fisheye-correction-webgl Unfortunately something is wrong with coordinates (though i'm using webgl code as a reference, but copy-paste to pixi doesn't work), i've tried this manual about Filter Area https://github.com/pixijs/pixi.js/wiki/v4-Creating-Filters and this topic but it didn't help. maybe because in my case there is vertex shader also. Here is fiddle with my code where the problem exists https://jsfiddle.net/f1nal/a5t07f3p/ Can someone explain how to do it right? ivan.popelyshev can you help me?
Hey everyone ! So if you didn't get the title's hint : Is there a way to bend, fisheye like, straight sprites around a given Point so it appears to be round? The Problem I'm facing is: I want to generate a more or less random planet surface, but for that I want to use a tile set so I can just put them in a row like a plain area and then with some magic *pow* --> a planet... ...well maybe not magic but some phaser power So is there a way to trick the player with some fisheye camera technique or some sprite bending power? Thanks Exx