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"

Using Vertex colours to edit world position offset

In UE4 I am adding a simple grass wind to some foliage I made and have painted the bottom of the mesh a different colour to mask so it doesnt move and the rest does, however when I test the material the whole mesh moves, and when I test the vertex colours in the defuse slot it shows that they imported corrected and yet they are not working with the world position offset. My question is why isnt the vertex colours working for this and have I possibly overlooked something. Below is a screenshot of the material edit, its very basic what im doing for this yet cant understand why it wont work.

alt text

Product Version: UE 4.14
Tags:
screenshot.png (380.0 kB)
more ▼

asked Mar 31 '17 at 12:27 AM in Using UE4

avatar image

RyanD2233
10 3 6

avatar image Thumper Nov 09 '18 at 07:58 PM

Did you ever solve this?

avatar image RyanD2233 Nov 10 '18 at 11:21 PM

I believe so, thanks,

avatar image BOBtheROSS Nov 11 '18 at 01:34 AM

would you mind to explaining what the fault was or what your solution is?

avatar image Thumper Nov 11 '18 at 01:44 AM

Yeah I know right? I can try though as I managed to figure it out. I was looking at the rgb outs on the vertex color node as 256, 256, 256... Silly artist. They are float values 0.0 - > 1.0. Once you know your target target color mask value (the rgb float representation) you can use a series of "if" Nodes to compare the vertex color with your target. If nodes can check less than, equal to, or greater than float values. So you have to do his for each channel. Compare red against red, green to green, and blue to blue. Maybe there is a single node that does this but I couldn't find it.

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

0 answers: sort voted first
Be the first one to answer this question
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