I’m looking to write a shader that willtake a texture and do a grid warp with multiple points >4. Pretty much like the corner pin TOP except with more points. I’m looking for some reference material but can’t really find any. Anyone have an idea where to look?
thanks
Keith
I’m also lookng for something like this.
currently I’m using a cut-down version of the Stoner for it.
so a shader would be way more efficient.
rod.
Hi Rod thanks for the tip about stoner. I didn’t even realize what it did. Actually I’m pretty much seeing that it is actually probably one of the most efficient ways to do it. Especially if you take your output out of the stoner1/stoner/render TOP and bypass all the whole UI and render,renderpass deal. The camera inside of stoner1/stoner just has to be adjusted to match by setting it orthogonal with a width of 4.
Since it’s doing all the UV calculations on the CPU and they are static once your done editing the shader it’s doing almost no work. I might even able to speed it up further by modifying the shader to do no lighting calculations. Once I have it edited I’ll post it for you if you would like.
cheers
Keith