Hi everybody! I've always been really interested in parallaxing and would be thrilled to learn how it's done =) I'm currently working on a redesign of Knight Commander Meredith's sword from Dragon Age 2 where the bulk of the blade is primarily crystal (red lyrium)- and thus thought of how cool it would be if the crystal…
In the simplest case all you do is offset the UV coordinates of each layer's texture based on view angle to the surface normal - You basically just apply a scale factor to the camera direction vector and add it to the UV coordinates fed into the texture sampler.(disclaimer : there's almost certainly another simple step…