Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

Mouse cursor texture set alpha?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mouse cursor texture set alpha?

    hey all,

    i did the tutorial by roycher HERE.
    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

  • #2
    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.

    Comment


    • #3
      thanks spaceman , i have added
      Code:
      DepthPriorityGroup=SDPG_ForeGround
      its better now the cursor is not clipping but it becomes bigger when on top of the wall or other objects.

      Comment


      • #4
        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.

        Comment


        • #5
          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.

          Comment

          Working...
          X