Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Material facing the camera .. with initial rotation


I'm currently trying to add a billboard-material to a long distance LOD-mesh. This billboard material is supposed to rotate along an axis and always face the player (the camera).

I followed the setup in the "Stylized Materials" docs ( link to the docs, image at the bottom ).

It's rotating fine but the foliage itself has some initial rotation (the random yaw) which is messing things up (because the material is rotating around the mesh, I think). I have tried for hours to make this work using the "ObjectOrientation" node on different locations but I just couldn't get it to work.

Anyone an idea where (and how) to handle the initial rotation? Or am I doing something else wrong?


the problem: alt text

my current material setup (world offset): alt text

Product Version: Not Selected
more ▼

asked Aug 27 '14 at 02:25 PM in Rendering

avatar image

51 2 4 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Use a sprite, it will face the camera all time.

more ▼

answered Aug 27 '14 at 02:37 PM

avatar image

885 46 45 80

avatar image Hatur Aug 27 '14 at 03:06 PM

Can you explain this further? How do I create a sprite inside a material? Also, it should only rotate along one axis, not ignore everything and always face the screen like sprites usually do.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question