Skip to content

Instantly share code, notes, and snippets.

@supereggbert
Created May 9, 2010 09:30
Show Gist options
  • Save supereggbert/395055 to your computer and use it in GitHub Desktop.
Save supereggbert/395055 to your computer and use it in GitHub Desktop.
<material id="water" specular="1.0" shininess="2">
<texture id="waterheight" src="waterheight.jpg" />
<material_layer texture="#waterheight" mapinput="UV1" frame_rate="25" height="0.07" animation="#flow" mapto="M_HEIGHT" scale_x="0.8" scale_y="0.8" />
<texture id="waternormal" src="waternormal.jpg" />
<material_layer texture="#waternormal" mapinput="UV1" mapto="M_NOR" scale_x="0.5" scale_y="0.5" />
<texture_camera camera="#mainCamera" id="watercolor1" clip_axis="POS_ZAXIS" />
<material_layer texture="#watercolor1" mapinput="MAP_VIEW" mapto="M_COLOR" />
<texture_camera camera="#mainCamera" id="watercolor2" clip_axis="NEG_ZAXIS" mirror_axis="ZAXIS" />
<material_layer texture="#watercolor2" mapinput="MAP_VIEW" mapto="M_COLOR" alpha="0.3" />
</material>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment