BloodRedd / gamekit

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

Video Textures #122

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Impliment video textures from Blender to be able to run in Gamekit.

Currently video textures in a Blender file cause the Gamekit to crash, but it 
would be very nice to be able to use them in Gamekit.

Original issue reported on code.google.com by ih_z...@hotmail.com on 13 Dec 2010 at 1:18

GoogleCodeExporter commented 8 years ago
material AnimatedTextures
 {
    technique
    {
       pass
        {
         //lighting off            
         scene_blend alpha_blend
         depth_write off

          texture_unit
          {
            texture moving_sandground
            tex_coord_set 0
            colour_op modulate
            scale 2 2 // Tiling 
            scroll_anim 0.5 0.0 //animation U vector  V vector
            //wave_xform scale sine 0.0 0.07 0.7 0.0 //Sine wave

          }

       }   
    }
 }

Original comment by xrenmi...@gmail.com on 20 Dec 2010 at 1:58