Welcome to CMM

The CMM forum software was recently upgraded, some things may have changed and some things may be broken or not working. Please let me know by PM or on IRC if you have any problems using this forum.

Also, I've removed the skybox and shader links for now, the shader generator page was being abused and as we're moving towards a ue4 mapping base, they're redundant.

Glass

Having a problem with a shader or texture
quick
Posts: 62
Joined: Mon Feb 04, 2013 3:51 pm
Location: Denmark

Glass

Postby quick » Wed Apr 03, 2013 10:24 am

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?

User avatar
DagF
Posts: 276
Joined: Thu Aug 18, 2011 8:40 am
Location: Norway
Contact:

Re: Glass

Postby DagF » Wed Apr 03, 2013 10:39 am

Are the shader listed in your shaderlist?

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

quick
Posts: 62
Joined: Mon Feb 04, 2013 3:51 pm
Location: Denmark

Re: Glass

Postby quick » Wed Apr 03, 2013 12:08 pm

Everything is as it should be. The glass is just black.

thelionroars
Posts: 32
Joined: Mon Jul 16, 2012 2:53 pm

Re: Glass

Postby thelionroars » Wed Apr 03, 2013 12:37 pm

You could try using the glass provided in the shaders section here on the CMM site, and see if that works: shaders.php
<JohnnyEnglish> that was hours ago, I've been out for a run since then, topped up my pond, fed the fish, took daughter to post office to collect book that postman couldn't deliver, watered tomatos, stood and pondered for 20 minutes and smoked a water pipe
<JohnnyEnglish> also painted my toe nails pink to match this new bag I found
<JohnnyEnglish> and made a carpet from some belly button fluff I found in the cat

quick
Posts: 62
Joined: Mon Feb 04, 2013 3:51 pm
Location: Denmark

Re: Glass

Postby quick » Wed Apr 03, 2013 2:29 pm

I've, but I can't look through that too.
Isn't there a tut for making glass?

User avatar
DagF
Posts: 276
Joined: Thu Aug 18, 2011 8:40 am
Location: Norway
Contact:

Re: Glass

Postby DagF » Wed Apr 03, 2013 2:36 pm

There is one form making breakable glass. look trough it http://www.urbanterror.info/support/151 ... e-windows/
Image

User avatar
xandaxs
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Contact:

Re: Glass

Postby xandaxs » Wed Apr 03, 2013 4:38 pm

it is a brush and a texture that has a shader linked to it. Nothing else
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya

Image

quick
Posts: 62
Joined: Mon Feb 04, 2013 3:51 pm
Location: Denmark

Re: Glass

Postby quick » Sat Apr 13, 2013 10:01 am

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?

User avatar
DagF
Posts: 276
Joined: Thu Aug 18, 2011 8:40 am
Location: Norway
Contact:

Re: Glass

Postby DagF » Sat Apr 13, 2013 11:20 am

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 :)
Image


Return to “Shaders / textures”

Who is online

Users browsing this forum: No registered users and 1 guest