Aging textures

Discussions about Chaos mapping for the UT series.
GB
Posts: 611
Joined: Sun Nov 14, 2004 7:54 pm

Aging textures

Post by GB »

hi all,

just wondering if you guys could offer a suggestion for a duel map idea i had;

i wanted to make a map in which it is set in an old stone courtyard sorta thing, where as the round progresses, the textures get older and cracked more...i was going to use materialsquences to do this, but upon testing this out, ive found that these dont work in game, only in the texture browser...which is annoying.

the idea is too have the textures gradually age over about 15 seconds and then regain youth again about 30 seconds later. This cant be done using material sequences as ive just tried...any other suggestions?

cheers,
venalanatomica
"All i know is my gut says maybe"
neolith
Chaotic Dreams Team
Posts: 1594
Joined: Wed Jan 15, 2003 10:05 am
Location: Düsseldorf, Germany

Post by neolith »

I uploaded a zip for you to take a look at: Download

In it you'll find an UT texture file and the one custom texture I created. Basically it works like this:

Custom texture -> panning over 15 seconds -> stretched by factor 50 -> use as alpha mask in a combiner

Make sure not to compress the custom texture though as its alpha channel will be too distorted even with DXTC5. That's why I kept it 64x64 so that it won't get too big (file size). Also I put the same data it has in its alpha channel into the RGB channel so that you can have a preview when working with the shaders (plus this doesn't add to the filesize, because it is uncompressed anyways).

This solution might not be the most simple, but I think it offers the most control.
If you have any questions, feel free to contact me.
–The biggest trick the devil ever pulled, was convincing the world he didn't exist.–
GB
Posts: 611
Joined: Sun Nov 14, 2004 7:54 pm

Post by GB »

thanks for the help - i have to admit thats pretty cool, and id have never thought of doing it that way.

is it ok if i use the textures u created as a base? im only asking cos im a bit of a n00b using photoshop, and alpha etc is somewhat complicated when uve only been using it for two weeks...

EDIT: i just tried some of these texture and they work well, but ive noticed they dont work with light on static meshes...they only get rendered on one of the textures using sunlight and the other loks birght as if unlit. oh well, at least it works on BSP surfaces..looks cool anyway.

im about 50% finished Duel-Arborea, an ageing map set in cambodia or some rainforest somewhere...
"All i know is my gut says maybe"
neolith
Chaotic Dreams Team
Posts: 1594
Joined: Wed Jan 15, 2003 10:05 am
Location: Düsseldorf, Germany

Post by neolith »

venalanatomica wrote:is it ok if i use the textures u created as a base?
Sure, no problem.
EDIT: i just tried some of these texture and they work well, but ive noticed they dont work with light on static meshes...they only get rendered on one of the textures using sunlight and the other loks birght as if unlit. oh well, at least it works on BSP surfaces..looks cool anyway.
Hmmm... strange. I didn't try it ingame, but it's possible that I messed something up. Or it could be EPIC's fault and the combiner makes them self-illuminated.

Anyone have some info about this?
–The biggest trick the devil ever pulled, was convincing the world he didn't exist.–
GB
Posts: 611
Joined: Sun Nov 14, 2004 7:54 pm

Post by GB »

thanks for the use of the textures.

i suggest u blame EPIC, since im gonna blame them for not implementing their new foliage generator....having to settle for static mesh leaves aint pretty.

The texts look cool, but i doubt anyone will even notice them...its such a small map (designed for very max of 4 players) and so detailed that most folk ll be paying attention to not being killed thanif the stonework is changing... im kinda worried cos i think im possibly the first creator of a tiny duel map that needs antiportals.....
"All i know is my gut says maybe"
MassChAoS
Posts: 1301
Joined: Thu May 02, 2002 3:26 am
Location: Florida
Contact:

Post by MassChAoS »

I think this might be possible another way, but I'm rather sketch on details how to do it... if MaterialSquence doesn't work, you could try triggered textures or projectors.
LoQtUS
Posts: 2710
Joined: Mon May 06, 2002 6:30 pm
Location: Orlando FL
Contact:

Post by LoQtUS »

or you could try an animated texture, but thats way old school.
The Dark Side of Chaos.
GB
Posts: 611
Joined: Sun Nov 14, 2004 7:54 pm

Post by GB »

yeah....

animated textures are a bore. I think im just gonna c-section this idea and concntrate on finishing other levels, cos it aint as cool as id originally thought having done a quick test map...
"All i know is my gut says maybe"
Shadowstar
Chaotic Dreams Team
Posts: 3290
Joined: Sun Apr 06, 2003 6:22 am
Location: Arizona
Contact:

Post by Shadowstar »

I think MaterialSequences DO work, but they have to be static meshes.

Check out the blinking ads in Arena 2 for an example.
Corvus|CL
Posts: 1011
Joined: Wed Jul 24, 2002 11:34 am
Location: Bonn, Germany
Contact:

Post by Corvus|CL »

MaterialSequences on geometry DO work in game... Not only on static meshes but on BSP surfaces, too...

But there seems a bug with MaterialSequences on BSP surfaces:
The texture seems to be rendered with a really low scale, it looks okay in Ued, but ingame the MaterialSequence on BSP is tiled very much and has low dimensiona therefore you cant really see the material sequence because it looks like a one single colour texture. You must get really close to the texture to see that its sequencing.
You have to set the UV-Dimensions of the MaterialSequence in the BSP Surface Properties really high before it looks okay in game.
If the MaterialSequence has a siez of 512x512, try a scale of 512 in the Surface Properties and you will see that they work... ;)
Image
The European UT2004 and ChaosUT2 Clan
GB
Posts: 611
Joined: Sun Nov 14, 2004 7:54 pm

Post by GB »

thanks for the tips,

-ive just tried the bsp trick and it seems to work - howver, the material sequence thing is going to be very hard pn static meshes, because most mesh skins are shader or combiners, which dont really work taht well with material sequences...(shaders come up white, adn combiners onlky work if they are one level deep Ie not a combiner of a combiner)

hmmn. ill put htis one the backburner fora while and ill maybe screw about in my spare time between projects.
"All i know is my gut says maybe"
Marsfyre
Chaotic Dreams Team
Posts: 567
Joined: Sun Mar 16, 2003 4:01 am
Location: USA, NJ

Post by Marsfyre »

for the combiner thing, you need to put it into the diffuse slot of a shader and then it will light correctly
jeditobe1
Inactive Chaos Team Member
Posts: 2638
Joined: Mon Mar 10, 2003 11:06 pm
Location: The Dagobah System
Contact:

Post by jeditobe1 »

woah.. hi mars.
I make Darth Vader look like a teenage punk with a lightsaber.
Shadowstar
Chaotic Dreams Team
Posts: 3290
Joined: Sun Apr 06, 2003 6:22 am
Location: Arizona
Contact:

Post by Shadowstar »

Hey Mars is back!
Marsfyre
Chaotic Dreams Team
Posts: 567
Joined: Sun Mar 16, 2003 4:01 am
Location: USA, NJ

Post by Marsfyre »

hey guys :D yes I'm back!
Post Reply