Hacker News new | ask | show | jobs
by TestTube_Andy 4106 days ago
Oh, that's really cool. No, I'd not heard of those shaders or DisplacementMapFilter - but it sure looks like they could do what I need. My current method (as you can perhaps tell) is to split the (non-relativistic) image into a bunch of thin triangle fanning out radially from your character, then redraw those images onto triangles with modified angle/vertices.

It works pretty well, but I imagine using one of the methods you listed would be a lot faster. Thanks for sharing them, I'll keep them in mind for a possible upgrade to the game.

1 comments

I'm a bit embarrassed to admit I didn't realize you'd already solved this, because I hadn't played all the way until level 25 the first time around. Your method looks fantastic.
Oh - haha - no problem. One of my favorite parts of watching people who know about relativity play this game is seeing them a) think of an effect that isn't shown in the game, and state that out loud, then b) reach the level that the effect is introduced. (Doppler shift, aberration, etc.) Makes me smile every time.