I'd like to know why my texture wont scroll. It refracts beautifully, but...
well, it looks utterly fake. Can anybody figure out what I've done wrong
here?
VMT CODE:
"Refract"
{
"$normalmap" "dvlstx/forcefield_normal"
"$surfaceprop" "glass"
"$bluramount" "1"
"$refractamount" ".100"
"$scale" "[1 1]
try using $bumptransform in stead of $baseTextureTransform as
texturescrollvar. That help?
-- Maarten
> I'd like to know why my texture wont scroll. It refracts beautifully,
> but...
> well, it looks utterly fake. Can anybody figure out what I've done wrong
> here?
>
> VMT CODE:
> "Refract"
> {
>
In a related question, can you have your $basetexture2 scroll? I wish to
have a basetexture, then a scrolling material overlayed ontop of this. Is
this possible?
On Sun, Oct 12, 2008 at 8:54 AM, Maarten De Meyer <[EMAIL PROTECTED]>wrote:
> try using $bumptransform in stead of $baseTextureTransfor
Proxies operate on variables, I see no reason why the
$basetexture2transform should be any different. What you want should be
possible, yes.
> In a related question, can you have your $basetexture2 scroll? I wish to
> have a basetexture, then a scrolling material overlayed ontop of this. Is
> this
What would my code look like, something like this? (Typed off memory, so the
commands may be iffy)
"LightmappedGeneric"
{
$basetexture "base/basetexture1"
$basetexture "base/basetexture1overlay"
$surfaceprop "metal"
$surfaceprop2 "water" //Does source support SurfaceProp2?
"Pr
Whoops that won't work, that's animated texture.
I meant to say:
"LightmappedGeneric"
{
$basetexture "test/basewatertexture01"
$basetexture "base/basewavetexture01"
$surfaceprop "metal"
"Proxies"
{
"TextureScroll"
{
"textureScrollVar" "$basetexture2
I believe you have to change the line
"textureScrollVar" "$basetexture2"
to
"textureScrollVar" "$baseTextureTransform"
Although I'm not sure if you're going for a different effect from scrolling.
Josh
On Sun, Oct 12, 2008 at 2:46 PM, Matt Hoffman
<[EMAIL PROTECTED]>wrote:
> Whoops that won't
All I know is the code I posted doesn't do anything. :P
Would I remove $basetexture2 (at the start of the vmt) and replace it with
$basetexturetransform?
On Sun, Oct 12, 2008 at 5:49 PM, Josh Hollander <[EMAIL PROTECTED]> wrote:
> I believe you have to change the line
>
> "textureScrollVar" "$ba
I believe so... I'm not quite sure as to what you are trying to achieve, but
if it's just a single texture I got mine working with Maarten's help.
On Sun, Oct 12, 2008 at 8:53 PM, Matt Hoffman
<[EMAIL PROTECTED]>wrote:
> All I know is the code I posted doesn't do anything. :P
>
> Would I remove $
Well what I'm trying to do is re-create Wetwork from COD4. (First level
really, with the cargoship, etc)
I'm trying to re-create the water, which appears to be a moving plane
(animated vertexes) with a base water texture, then an animated 'wave/foam'
texture on top.
I'm also trying to re-create t
The puddle should be easy enough to do, but I'm not so sure about the
water... Model with animation could be best, if you're up to it.
On Sun, Oct 12, 2008 at 9:12 PM, Matt Hoffman
<[EMAIL PROTECTED]>wrote:
> Well what I'm trying to do is re-create Wetwork from COD4. (First level
> really, with t
Well yeah I know about the model with the animation, but I don't want to
have to have two copies of the waves (and render 2x the triangles) with the
top layer being foam.
How would you overlay an animated material ontop of a $basetexture?
On Sun, Oct 12, 2008 at 7:08 PM, Josh Hollander <[EMAIL PR
What I would *expect* logically is
"LightmappedGeneric"
{
$basetexture "test/basewatertexture01"
$basetexture2 "base/basewavetexture01"
$surfaceprop "metal"
"Proxies"
{
"TextureScroll"
{
"textureScrollVar" "$basetexture2transform"
"textu
I'm not sure what $basetexture2transform is used for. I thought
"textureScrollVar" defined which variable to read for which material.
On Sun, Oct 12, 2008 at 11:11 PM, Maarten De Meyer <[EMAIL PROTECTED]>wrote:
> What I would *expect* logically is
>
> "LightmappedGeneric"
> {
>$basetexture "t
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoffman
Sent: Monday, October 13, 2008 7:52 PM
To: Discussion of Half-Life Programming
Subject: Re: [hlcoders] Scrolling Textures
I'm not sure what $basetexture2transform is used for. I thought
"textur
t; To: Discussion of Half-Life Programming
> Subject: Re: [hlcoders] Scrolling Textures
>
> I'm not sure what $basetexture2transform is used for. I thought
> "textureScrollVar" defined which variable to read for which material.
>
> On Sun, Oct 12, 2008 at 11:11
ris
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoffman
> Sent: Monday, October 13, 2008 7:52 PM
> To: Discussion of Half-Life Programming
> Subject: Re: [hlcoders] Scrolling Textures
>
> I'm not sure what $basetex
ng textures.
>
> Chris
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoffman
> Sent: Monday, October 13, 2008 7:52 PM
> To: Discussion of Half-Life Programming
> Subject: Re: [hlcoders] Scrolling Textures
>
> I&
the
> overlay scrolling and then in the map apply the overlay over the water
> texture.
>
> Chris
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoffman
> Sent: Monday, October 13, 2008 8:12 PM
> To: Discussion of
Not sure whether you have already solved this but I just read through this
thread and thought I'd reply:
First of all, yes, $basetexture2transform does not exist. Seems like you got
$basetexturetransform2 and $texture2transform mixed up.
Second of all I think LightmappedGeneric will not work the
20 matches
Mail list logo