Ok, so I made a VMT that has a $Lightwarptexture and the texture only shows up as the pink and black checkers.
I made a VMT (I copied it below).
The texture is Vertexlitgeneric, and is applied to a small spherical model so I could see if the Lightwarptexture works.
I made all the vtfs; a white texture for the base, a light blue bump map for the lightwarptexture, and a 16x512 lightwarptexture that goes from black to dark blue.
I wondered about phong, cuz I read a thread on interlopers saying that phong didn’t have to be enabled. But my lightwarptexture works now that it’s on so I guess the thread was wrong = D
[editline]15th December 2010[/editline]
I guess someone should flesh out the valve wiki page on lightwarps a little more.
Also, I’m using nocull because what I’m trying to do with this particular texture is make a model that will dynamically simulate an atmosphere surrounding a planet (spherical model) by being blue where it’s illuminated and black where it isn’t. I used nocull so the atmosphere would be illuminated from the outside (and on the correct side of the planet) and the resulting blue would be seen on the inside.
Thanks for helping and for providing such a thorough example = D