x

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"

PerInstanceRandom input functionality change

I’ve read a thread like this before on here, but it didn’t seem to solve my problem as the engine has changed since.

Basically, I’m creating a game which utilizes HISM components, and I needed to be able to have the instances on the same HISM change texture based on their “type” (my own numerical input). I was wondering if there was a way I could manipulate the PerInstanceRandom node to output a custom value, or if there was another way to achieve the same goal.

Thanks in advance

Edit: Original post: https://answers.unrealengine.com/questions/502169/customise-uvs-per-instance-with-instanced-static-m.html

Edit 2: Found this post (gonna try and see if this helps me): https://forums.unrealengine.com/unreal-engine/feedback-for-epic/110733-instance-index-for-instanced-static-mesh-in-the-material-editor

Product Version: UE 4.20
Tags:
more ▼

asked Sep 09 '18 at 02:11 AM in C++ Programming

avatar image

TheApplePieGod
26 2 1 3

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

After many hours of digging and testing, I finally got a solution. I will post my solution asap.

EDIT: My tutorial: https://forums.unrealengine.com/community/community-content-tools-and-tutorials/1526732-per-instance-custom-data-inside-of-material

more ▼

answered Sep 10 '18 at 10:44 PM

avatar image

TheApplePieGod
26 2 1 3

(comments are locked)
10|2000 characters needed characters left
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