Shaders are a bit confusing...


(Qexpres) #1

I don’t know how to create shaders very well, but that’s not the problem.
The problem is that I know there are a lot of shaders created for oasis (mp_siwa) which I know where to find, but GTKradiant can’t display them. It will give a “Shader Image Missing”-texture.
What’s the reason of this?

Thanks in advance for the help anyway. :slight_smile:


(SCDS_reyalP) #2

check shaderlist.txt
some shaders are also missing editor images


(Qexpres) #3

I can see mp_siwa written in sharderlist.txt
I guess they are missing the editor image. Are those missing or have they never been made?
They work in game, but it’s not easy giving everithing a texture without knowing what it will do…
Thanks for you reply, though. :slight_smile:


(SCDS_reyalP) #4

Can you post the name of one of the ones that is bad ?


(Detoeni) #5

He’s looking at the terrain shaders.

Terrain shaders dont have editor images as the shaders for the terrain entity are not used by the editor only the complier and game. You dont want to be using other maps terrain shaders. make your own for that.


(Qexpres) #6

Hmm, well I’ll give it a try, but it looks pretty hard.
How do you create a shader that links 2 other shaders?
Like lmterrain_1 --> lmterrain_1to5 --> lmterrain_5

I also tried to use them in my map, but it doesn’t seem right. I can’t see a smooth connection between those 3 textures. It’s like having a sand texture and BANG the next one is stone. What am I doing wrong. When I understand that, I can consider making my own.

Thanks for the reply’s again. :slight_smile:


(Detoeni) #7

you need a pcx to control blends (easygen terrain too requiredl), or “alpha volume blending”. links to tutorials are in the stickys at the top of the forum.