Please or Register to create posts and topics.

Help with env_sprite/ env_sprite_clientside

Page 1 of 2Next

Hello everyone :)

I'm working on an awesome map where I wanted to add lanterns; to get them look awesome they need a nice inner glow, so I thought to add an env_sprite or an env_sprite_clientside. I've added them and this is how they look:
Image
All working, but if I move my mouse a tiny bit I get this:
Image

Any suggestions on what I'm doing wrong? :(

Could be that your sprite is malfunctioning because it is inside the model. Have you tried increasing the "Size of Glow Proxy Geometry"?

vdc wrote:
Size of Glow Proxy Geometry <float>
Size of the glow to be rendered for visibility testing. Must be larger than the distance from the sprite center to empty space. So if this glow is inside geometry (like a light bulb), set this value to be bigger than the bulb's radius. Any time a sphere of this radius pokes through nearby geometry the glow will be rendered.

yes; it's currently at 128 :P

it's a rendering issue. Sprites are the lowest piority and will disappear if you look away from it 50% or more

I've tried to set the cpu and gpu priority a bit higher; hopefully it'll work now :) thanks for the help :D

I was also trying to do this but couldnt get the sprites to shrink. I was also using lights before but couldnt get the light to get small enough within the size of a dashboard light

Just when I think I understand the system, it changes on me.

Lp, what about using 1 or maybe 2 point_spotlights? maybe you could obtain a similar effect and they are rendered good throughout long distances.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
Lp, what about using 1 or maybe 2 point_spotlights? maybe you could obtain a similar effect and they are rendered good throughout long distances.

You mean env_sprites. Spotlights are really the wrong effect for laterns.

I have a guess what the problem could be: You are using a refracting shader on the glass texture. Maybe there is a bug depending on what angle you are looking on the glass and the sprite. Try it out without refracting glass to see if this is the problem (and somehow I'm pretty sure it is the problem).

Skotty wrote:
You mean env_sprites. Spotlights are really the wrong effect for laterns.

No, I meant the point_spotlight entity as described here.

Please check out:

Spoiler
Sorry, only logged-in users can see spoilers.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
No, I meant the point_spotlight entity as described

I know what you mean and I know what point_spotlights are.

Page 1 of 2Next