I was just optimising an old map where I had a dotproduct2 blending on every surface. I decided to replace the shaders on the surfaces that didn’t have any blending to a nonblended version (which gives a great boost to FPS over the whole map). However I’m having trouble linking the blended to nonblended versions of each shader.
there are two problems: 1. the top texture (grass - which is getting blended) never appears totally solid (its always semitransparent). and 2. I cant get the base textures to tile properly between a vertical surface and the angled one.
the second prob isn’t that important, but if anyone can help me with the first I’d be very grateful. 
Here are a couple of pics of the problems: pic1 pic2
Here is the shader file.
And this is a wee example map of it.
Thanks 
