Jump to content

Problem with sprites

Recommended Posts

I've been trying to do this for many hours... I'm quite close, but something really weird is going on.


I have a chains.tga I've made myself, and want to use it as a sprite (autosprite2).


Here is the shader:


	qer_editorimage textures/Bootland/chains.tga
	deformVertexes autosprite2
	map textures/Bootland/chains
	alphaFunc GT0
	rgbGen identity

Problem: The sprite's texture twists and breaks off in a way, if I'm using a simple patch mesh (in-game).


Here are some pictures to show what happens.



In this picture, you see the chain to the left, a patch mesh. To the right is a sprite on an ordinary square brush. It has nodraw on the other sides but the front. This sprite doesn't follow the camera 360 degrees around, but stops after 180. The patch mesh follows all the way, but remains bugged.



Here is a big match mesh with the same sprite, just in case it makes it clearer.

That's supposed to be straight, and whole.


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...