Clipmodel and Shaderproblem


(system) #1

I made some .ase models for a Quake 3 map.
I made the shader but i have some problems.

  1. The Model does not clip.
  2. I used a patch to model some weed and want the poly to be textured from two sides. I used “Cull none” in my shader but it is not working.

Here’s the shader. My shader is in the shaderlist.txt, too.


 models/mapobjects/pad_fies/grashalm_default
{
	qer_editorimage textures/fiesling/gruen_normal.tga
	q3map_nonplanar
	q3map_forcemeta
	q3map_splotchfix
      q3map_shadeAngle 80
	q3map_clipModel
	cull none
		{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/fiesling/gruen_normal.tga
		blendFunc GL_DST_COLOR GL_SRC_COLOR
		rgbgen identity
	}
}

I can’t find the error.
Just not to forget. I’m using the latest q3map2 aviable.

Here’s a shot of a first testmap so you can see what the models are looking like. It’s a map for a mod.


(ydnar) #2

Is the shader script listed in shaderlist.txt? Is it in the mod directory or in baseq3?

Also, the blendFunc you’re using on the texture stage is a bit…odd. It should probably be GL_DST_COLOR GL_ZERO.

y


(system) #3

Yes the shader is listed in the shaderlist.txt and it’s located in the /baseq3 directory to avoid trouble.


(system) #4

No ideas?
The bug in this forum sukks.
In many threads the replies are not listed correctly on the forum site. :frowning:
So you never know if someone replied. :frowning: