When I compile with -patchmeta flag, in the game all the textures with autosprite2 surfaceparm disappear. If I compile the same map without the patchmeta they are there again. What is patchmeta doing to cause the autosprite2's to go away?
Another clue is that I have patchshadows on and q3map2 doesn't even make the shadows of the plane with the autosprite2 shader. It's like its getting culled at some point before the light phase.
patchmeta causes autosprites to disappear
-
- Posts: 59
- Joined: Fri Mar 28, 2014 11:50 pm
Re: patchmeta causes autosprites to disappear
Have you set subdivisions?
I assume your sprite is on a single patch. I'm pretty sure you need to set a subdivision value.
I guess for the second point, either autosprite 2 disables shadows by default (which makes sense in a game with a lightmap), or doesn't have surfaceparm alphashadow set.
I assume your sprite is on a single patch. I'm pretty sure you need to set a subdivision value.
I guess for the second point, either autosprite 2 disables shadows by default (which makes sense in a game with a lightmap), or doesn't have surfaceparm alphashadow set.
Re: patchmeta causes autosprites to disappear
I assume you're doing this on a patch. Can you try putting your autosprite shader on a brush face with the other faces textured with nodraw?
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
-
- Posts: 59
- Joined: Fri Mar 28, 2014 11:50 pm
Re: patchmeta causes autosprites to disappear
Obsidian:
Yes the first thing I did was make a nodraw brush and paint one side with the patch texture. It did show in-game, but it was all warped up.
dONKEY:
Subdivisions? I didn't know you could set them. How do you set them? What would be an example of how to do it?
Edit:
I set subdivisions anywhere from 2 to 128 and still, no autosprites
Yes the first thing I did was make a nodraw brush and paint one side with the patch texture. It did show in-game, but it was all warped up.
dONKEY:
Subdivisions? I didn't know you could set them. How do you set them? What would be an example of how to do it?
Edit:
I set subdivisions anywhere from 2 to 128 and still, no autosprites