Page 1 of 1

Glass

Posted: Wed Apr 03, 2013 10:24 am
by quick
Hi.
I want to know how to make glass, so I found the texture (glass1) from ut_subway.
I also have the shader. Then i test and it looks like in radiant. Why?
What to do so I can make glass that u can see through?

Re: Glass

Posted: Wed Apr 03, 2013 10:39 am
by DagF
Are the shader listed in your shaderlist?

Did you move the texture or is it in the folder where you found it?

Re: Glass

Posted: Wed Apr 03, 2013 12:08 pm
by quick
Everything is as it should be. The glass is just black.

Re: Glass

Posted: Wed Apr 03, 2013 12:37 pm
by thelionroars
You could try using the glass provided in the shaders section here on the CMM site, and see if that works: shaders.php

Re: Glass

Posted: Wed Apr 03, 2013 2:29 pm
by quick
I've, but I can't look through that too.
Isn't there a tut for making glass?

Re: Glass

Posted: Wed Apr 03, 2013 2:36 pm
by DagF
There is one form making breakable glass. look trough it http://www.urbanterror.info/support/151 ... e-windows/

Re: Glass

Posted: Wed Apr 03, 2013 4:38 pm
by xandaxs
it is a brush and a texture that has a shader linked to it. Nothing else

Re: Glass

Posted: Sat Apr 13, 2013 10:01 am
by quick
I tried ur glass and got help from DagF. He can't find the problem, so I ask in here. Why can't I look through the glass (glass1 from shader.php). In radiant it has trans but in-game it's grey, why?

Re: Glass

Posted: Sat Apr 13, 2013 11:20 am
by DagF
I found the fault.
you have to rename your shaderfile, it can not be called glass.shader as there is a file called this in urt already.
I would reccomand you prefix all your shaders files, texture folders and other assets you make with your name(quick_glass.shader).

The reason the shader dosent work is that it is now overritten by the glass.shader that is in the game.
Renaming the shaderfile should solov the problem.

ps. you need to add shaderfiles in your pk3. no need for the shaderlist.txt tought

I hope that soloved it :)