Announcement

Collapse
No announcement yet.

worldpositionoffest rotation

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

  • replied
    I toyed with this idea for a while, i think it may be possible. At least I got the foliage to rotate when the player rotated just never got it to sync properly.

    I used unreal script to change the foliages materials variables, try looking at my vertex shader to get a better idea how to modify the variables.
    http://forums.epicgames.com/showthread.php?t=718347

    Leave a comment:


  • replied
    all of those suggestions would work but then I wouldnt be able to use them with a foliage system. Is there anywhere (possibly another forum) that might be better explain the worldpositionoffset and the rotateaboutaxis instruction in greater detail? The UDN didnt really help very much

    Leave a comment:


  • replied
    ...or lens flare

    Leave a comment:


  • replied
    Why not just use particle sprites? you could create a clump of them even and use a UV offset to show different plants/foliage.

    Leave a comment:


  • replied
    so no thoughts on this?

    Leave a comment:


  • started a topic worldpositionoffest rotation

    worldpositionoffest rotation

    So Im trying to make a material that I can apply to a basic card mesh that will make the mesh rotate around always facing the camera. The card has a small plant texture that Im using as part of my foliage so it basically just needs to always face the player camera.

    I think this is done using worldpositionoffset and Ive found the rotateaboutaxis instruction. Is there a tutorial on this or has anyone tried to do it? If there is a better way to accomplish the desired effect like in the mesh somewhere that will work too.
Working...
X