Please or Register to create posts and topics.

Dark side of the sprite

Page 1 of 2Next

i tried using env_sprites in the new portal level i am creating, however when ever i'm on one side of the sprites they turn dark and black. when i'm standing on the other side they look just fine. My first thought was lighting so i put a light on the dark side to no effect. any help would be appreciated.

Have you tried setting the Render Mode of the sprite to "World Space Glow"

I have, it did not seem to make a difference.
Thankyou for you idea tho.

To give a better idea of whats going on here is a picture, the feathers are the sprites. this is the dark side.

sprite glitch.png

strange. Sprites should look the same from all directions... what happens if you move them a bit upwards, out of the desk?

The Aperture Alpha
A map pack coming soon. - click for more information
Image

Moving them upwards creates no chnage.
Good idea tho.

Is it a custom sprite texture? If so, post your VMT.

Here is the file.

alot of my problem went away when i compiled with hdr under rad, so it is the right color most of the time now.

boctroy wrote:
alot of my problem went away when i compiled with hdr under rad, so it is the right color most of the time now.

This statement should tell yourself you still haven't solved any problem.

I took a look on your sprite .vmt and as I thought:

Code: Select all
"LightmappedGeneric"
{
   "$basetexture"   "Custom/redfeather"
   "$translucent"   "1"
}

Using "LightmappedGeneric" here is wrong. Sprites are special textures. Next time take a look into existing textures in Portal 2's VPK files.

The correct .vmt must be:

Code: Select all
"Sprite"
{
   "$basetexture"   "Custom/redfeather"
   "$spriteorientation"   "vp_parallel"
   "$spriteorigin"   "[0.5 0.5]"
}
Page 1 of 2Next