Hyson7 / osghimmel

Automatically exported from code.google.com/p/osghimmel
0 stars 1 forks source link

Implement the moon deformation as hinted in the thesis #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
split the moon in two or more vertical stripes, for each aquire the refraction 
corrected height and scale the v-component in the moons fragment shader by 
linear interpolation within the stripes.

Original issue reported on code.google.com by costumebrother on 2 Aug 2012 at 11:21

GoogleCodeExporter commented 9 years ago

Original comment by costumebrother on 2 Aug 2012 at 11:21

Attachments:

GoogleCodeExporter commented 9 years ago
We could also use a precomputed 2d texture, that maps the apparent, refraction 
corrected height of a fragment to the height of the moondisk's center...

Original comment by costumebrother on 2 Aug 2012 at 11:57