Announcement

Collapse
No announcement yet.

How to assign a random color per instance?

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

    How to assign a random color per instance?

    Hello!

    This is driving me crazy, I would like to know if it's possible to assign a different color to each instance (HISM) ?
    I found suggestions about using the "perInstanceRandom" node in the material, but that doesn't do anything. Seems to be broken..

    Is there any way to achieve that, or is it impossible in unreal engine?


    Thanks, I really need your help to save my sanity..

    #2
    Like this:

    https://answers.unrealengine.com/que...ot-suppor.html

    But you won't be happy with the results, explanation in that thread.

    edit: for colour you'd need to push in 3 floats
    Last edited by Everynone; 08-07-2020, 12:45 PM.

    Comment


      #3
      Originally posted by Everynone View Post
      Like this:

      https://answers.unrealengine.com/que...ot-suppor.html

      But you won't be happy with the results, explanation in that thread.

      edit: for colour you'd need to push in 3 floats
      Thank you for sharing that link! It's very disheartening though, but I guess I can experiment around a bit with it.

      Comment


        #4
        For as long as you do not use LODs and no culling occurs, it works.

        Comment

        Working...
        X