Tremulous Forum

Media => Mapping Center => Topic started by: Redman on February 23, 2008, 06:59:58 pm

Title: Mirrors & Cameras
Post by: Redman on February 23, 2008, 06:59:58 pm
Hi.

Does someone know what common texture is for making mirrors and cameras? "Portal Surface" doesn't works.

Wtf? Any common texture don't work. I tried to make my - don't work. I had this error:

WARNING: Unknown general shader parameter '.tga'
Title: Re: Mirrors & Cameras
Post by: Odin on February 23, 2008, 11:55:13 pm
It means you've written a shader somewhere and forgot to put a closing bracket. If you forget that all shaders alphabetically following your messed up shader will fail with cascading errors like that.
Title: Re: Mirrors & Cameras
Post by: Redman on February 24, 2008, 01:57:36 am
All shaders works, also Paint shaders works, except this one.
Title: Re: Mirrors & Cameras
Post by: Odin on February 24, 2008, 04:06:45 am
Post the shader.
Title: Re: Mirrors & Cameras
Post by: Redman on February 24, 2008, 11:54:41 am
Code: [Select]
textures/paint/portylsurfejs
{
surfaceparm nolightmap
portal
{
map textures/paint/portylsurfejs.tga
blendFunc add
depthWrite
}
}

Now i'm thinking about this shader. I'll test it.

Code: [Select]
textures/paint/portylsurfejs
{
qer_editorimage textures/paint/portylsurfejs.tga
surfaceparm nolightmap
portal
}

Success! Mirror work (shader from mirror map), but camera is a little damned. I try to post screenshot if i don't fix it.

Can't repair it. Can someone help me?

(http://img244.imageshack.us/img244/997/shot0106zt9.th.jpg) (http://img244.imageshack.us/my.php?image=shot0106zt9.jpg)
Title: Re: Mirrors & Cameras
Post by: bmac on February 29, 2008, 02:01:31 am
is it possible to get this map??
Title: Re: Mirrors & Cameras
Post by: mooseberry on February 29, 2008, 05:30:11 am
is it possible to get this map??

KILL...

Your Stupidity annoys me.

(I'm sorry for being harsh, but jees, if you can't think and read for yourself ask your mom to help.)