load a texture on a handle with flags set to clamp U and V (can't remember those off the top of my head).
mytex = loadtexture("Spot.png",flags)
apply the texture on the next channel to your terrain
entitytexture terrian,mytex,0,2
Then move it around with positiontexture mytex,x,y (values go from 0-1)
Also play with scaletexture mytex,x,y too.
That should get you started.
mytex = loadtexture("Spot.png",flags)
apply the texture on the next channel to your terrain
entitytexture terrian,mytex,0,2
Then move it around with positiontexture mytex,x,y (values go from 0-1)
Also play with scaletexture mytex,x,y too.
That should get you started.