Decal Problem

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Roach
Corporal
Posts: 39
Joined: Wed Oct 08, 2003 9:37 pm
Contact:

Decal Problem

Post by Roach »

I put some decals in my map like posters and sign etc. ,placed them an a thin brush with all the other 5 sides textured 'no draw'. I marked all 'fence' and 'alphashadow'. After compiling some are displayed correctly without black frame but some not.
Whats wrong?
Later i noticed that all the missdisplayed textures are named in black and read in the forum that they don't work right with :AA.
But how comes and where did i get them? I#ve got no custom stuff in /main.
And where could i find them to treat them as custom Textures eventually rebuild an alphachannel and a shader to get them working. :?:
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

I think you are using the decals incorrectly. What you use are really fence textures ( from what you describe ). Decals are added in the game using an in-game decal editor. Ther should be a bost around here that has a link to an SH tutorial about this that should also be usable for AA...
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Yup you can make decals in game but for some reason they only show up when you set dcl_editmode to 1 :?

Maps like Southern France have awesome decals but I never got them to show up in a 'normal' way :?
Image
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Re: Decal Problem

Post by wacko »

Roach wrote:Later i noticed that all the missdisplayed textures are named in black and read in the forum that they don't work right with :AA.
But how comes and where did i get them? I#ve got no custom stuff in /main.
Textures with names in black are no custom stuff, but textures that have no shader. They come with MOHAA too. Because they have no shader, they can't be displayed properly. To avoid using them, uncheck "Show NON-Shader textures" in ur preferences, then they're gone. If u wanted to use them, u'd have to write a new shader. Easiest way is to choose a shader of a similar texture and adjust it to the new texture.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

decal shader

Post by tltrude »

I found errors in the decal shader and made a new one called "decals_fix.shader". All the decal textures seem to work now, but the new shader file has to be included in the final pk3. With it I apply the decals to simple patch mesh, and place the patch flush to the surface of where i want the decal applied.

That shader is in the pk3 for this map.

http://pages.sbcglobal.net/tltrude/Temp ... tation.zip

Image
Last edited by tltrude on Sun Apr 04, 2004 10:41 am, edited 1 time in total.
Tom Trude,

Image
User avatar
Roach
Corporal
Posts: 39
Joined: Wed Oct 08, 2003 9:37 pm
Contact:

Post by Roach »

Thanks guys, that helped me a lot. I'll try out your shader soon
Post Reply