PDA

View Full Version : Mouse cursor texture set alpha?



shaheen
12-26-2009, 05:07 AM
hey all,

i did the tutorial by roycher HERE (http://forums.epicgames.com/showthread.php?t=712537).
but now

#The cursor floats in Z axis(may be) i.e. going in or out if on top of other objects.

please any suggestion tips would be appreciated.
thanks
Video Here (http://www.youtube.com/watch?v=wuytZihVJQM)

TheSpaceMan
12-26-2009, 05:33 AM
look at some of the sample games, one of the show a way to set the actor to the front layer, that would make it draw on top of everything else.

shaheen
12-26-2009, 08:02 PM
thanks spaceman , i have added
DepthPriorityGroup=SDPG_ForeGround
its better now the cursor is not clipping but it becomes bigger when on top of the wall or other objects.

TheSpaceMan
12-27-2009, 03:42 PM
That simply because you are doing a trace and thus end up with a point closer when it hits said object. you could fix that with soem vectormath that rescalse the vector position for your projection based on a fixed distance.

Aumni
12-28-2009, 08:58 AM
To make the material transparent simple invert the white background (or remake the texture with black) and set its rendering to Transparent. Also send the proper channel to the opacity connector.