Shader question again


(th0rn3) #1

How can I make a texture that light will pass it through, but without making the texture transparent?


(pazur) #2

I would try to add an empty alpha channel to it. Then add alphashadows.


(Wezelkrozum) #3

Do you mean 2 textures in a shader? You can delete the surfaceparm trans. Then you can make the background texture not transparant. The other textures on it will be transparant.


(pazur) #4

surfaceparm trans makes a texture go detail (independent of the editor structure/detail info)

Shader Bible says :smiley:

4.8.23 trans
Tells q3map that pre-computed visibility should not be blocked by this surface. Generally, any shaders that have blendfuncs should be marked as surfaceparm trans.


(Wezelkrozum) #5

not really. I’ve used different blendfuncs in one shader without the surfaceparm trans and it worked perfect.
I think it’s surfaceparm noshadow


(pazur) #6

“surfaceparm noshadow” that sounds good wezelkrozum :slight_smile: That should be much more straight forward than my idea.