Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Shader questions

Page: 1 of 1
 MeusH
11-12-2004, 2:11 PM
#1
Hi. I want to add parameter "surfaceparm trans" and "notc" to "textures/korriban/orn_grate" texture.

So I took the orn_grate shader and put lines I wanted, plus the quer_editorimage entry.

Anyway, Radiant doesn't see any shader-only stuff made by me. I'd need to copy the korriban texture once again, and it would work. Any way to make it working in radiant?

Oh, when I compile the map, the shader I've made makes texture with really small scale (I can see it repeated at least 100 times in place, where it should be repeated two times... so it is very small. It is because of Radiant... and it's blind.

textures/ltemple/krata
{
qer_editorimage textures/korriban/orn_grate
cull twosided
surfaceparm trans
notc
{
map textures/korriban/orn_grate
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
 Mercenary
11-12-2004, 6:50 PM
#2
Did you add the name of your own shader file to the shaderlist.txt?
 MeusH
11-13-2004, 3:53 AM
#3
yes, it is in the file "temple.shader", and in shaderlist I have entry "temple"
 MeusH
11-14-2004, 10:36 AM
#4
Thanks for help! :mad: :mad:

I've figured it myself... I need copy of .shader in gamedata\base\shaders...
 Jedi_Vogel
11-14-2004, 3:06 PM
#5
Originally posted by MeusH
Thanks for help! :mad: :mad:
If that was sarcastic, you need to learn a little patience...
 MeusH
11-14-2004, 6:29 PM
#6
Yes, you have right. It was sarastic and I'm unpatient :p
 Jedi_Vogel
11-15-2004, 10:04 AM
#7
Are you French or German? (or neither?)
 MeusH
11-15-2004, 10:21 AM
#8
neither :p

Poland ;)

but does it matter?
If I lived in UK I'd be angry at the same level :D
 Jedi_Vogel
11-16-2004, 12:34 AM
#9
Czesc!

Oh no, it doesn't matter I just thought you were French/German from the way you worded your anger.

Ale nie :P

And I only know a little Polish so don't ask me anything complicated :lol:
 MeusH
11-16-2004, 4:53 AM
#10
Oh, good :D

Ile masz lat?
 Jedi_Vogel
11-16-2004, 5:00 AM
#11
Not sure if you meant "łat" or "lat", which changes the sentence lol.

Anyhow this is off-topic :lol:
 MeusH
11-16-2004, 5:21 AM
#12
Maybye... anyway, "lat" means "years"
 Jedi_Vogel
11-22-2004, 6:55 AM
#13
mam 21 ;)

Have a nice day :)
 MeusH
11-22-2004, 7:44 AM
#14
Ja mam 15 :D

Thanks!
Page: 1 of 1