ive been at this for what feels like 20 hours now. im trying to make fisheye shader for the @stoken.quest game so i can re release it on the new skatehive website.
im taking time to write this post instead of fix the problem because i need a break and maybe it will help me figure out what im trying to do.
i got the keyboard press to move the red dot (center of the buldge)
but
- somethings not right. when the red dot is 75% across the screen, the fisheye's proportions are correct.
- when the red dot is all the way to the left. so is the furthest left side of the screen. its in the viewport
center_uv_x: 0
3 . when the red dot is all the way to the right. the right side of the screen is not in the viewport.
center_uv_x: 1
center uv x = 1 is where the buldge is probably the most uniform, even though i cant see the right side of it.
something isn't centered
and i don't know what that is.
something is not being accounted for.
what i want to do
is take how it looks-- with center uv_x : 1 and move that to the left.
that is the extent of my understanding-- of how to explain what the problem is.
ive never made a shader before and havent looked at this games code in a while so maybe im forgetting something about its size. cuz its
🤔
i cant figure this out tonight.
whoa, imagine a vertical game that looked like this
like an infinite road going up, like a Halo..
As i get back into gamedev. i am revisiting quest for stoken. i have changed a couple other things before getting stuck on this fisheye.
added a dash state and now to stoke the fires you slash them and it looks cool er. Im going to make the game a lot more crazy and have a lot more to do with shooting. its going to be for controller. its gonna be like metal slug i think. just a shooter. but im going to try to have fun making huge bosses and stuff, then if its good we can try to hook it back up to hive and run the QFS server like @stoken.quest used to do.