Animating a refracting texture

Got problems with your models? Struggling with textures? Get help with your custom assets.

Animating a refracting texture

Postby Megadude on Thu Apr 03, 2008 11:33 pm

I've seen that you can animate a refracting texture by animating either the normal map or the dudv map. However, I need the texture used for the REFRACTTINTTEXTURE to animate, but I am having trouble doing so.

Code: Select all
"Refract"
{
   "$model" "1"
   "$bluramount" "1"
   "$surfaceprop" "flesh"
   "$refractamount" ".25"
   "$scale" "[1 1]"
   "$normalmap" "organic/organic01_normal"
   "$dudvmap" "organic/organic01_dudv"
   "$REFRACTTINTTEXTURE" "organic/organic01_refract"
   "%noportal" 1

   "Proxies"
   {
      "AnimatedTexture"
      {
      "animatedTextureVar" "[b]What do I put here?[/b]"
      "animatedTextureFrameNumVar" "$frame"
      "animatedTextureFrameRate" "5"
      }
   }


}


If I put in $basetexture, nothing happens as the Refract shader doesn't need a basetexture. I've tried putting in a $basetexture line, but that gives what looks like a low-res animated texture which is completly opaque, even when "$translucent" "1" is put into the VMT. I've tried putting in $REFRACTTINTTEXTURE, but that gives no animation either. Completly stuck on what else to try.
Wrathborne 711 wrote:OH MY GOD.........MEXICANS!


Image

End of Humanity - beta version 3.0 released!
User avatar
Megadude
Veteran
Veteran
 
Joined: Tue Sep 20, 2005 6:20 pm
Location: UK

Return to Custom Asset Help

Who is online

Users browsing this forum: No registered users

cron