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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Is there a way to get the height of a material in BP?

I'm trying to follow Handkor's buoyancy tutorial( https://wiki.unrealengine.com/Render_Target_Lookup ) and use that system in combination with the Nvidia Waveworks ocean shader.

The problem is that I can't get the code to run on the custom Waveworks build of 4.15 that I'm running. It might just be that I'm not doing it properly, I have very little C++ knowledge, but I was wondering if there was a way to get the displacement height of a material at every frame in Blueprint rather than C++.

Screenshot of the Waveworks material: alt text

Product Version: UE 4.15
Tags:
more ▼

asked May 15 '17 at 04:59 PM in Blueprint Scripting

avatar image

Lands Unknown
20 2 3

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

1 answer: sort voted first

I think not. I never saw any method to get texture color in specified location in BPs, Only in c++ in tutorial you mentioned.

more ▼

answered May 16 '17 at 09:27 AM

avatar image

redbox
4.3k 80 17 104

avatar image Lands Unknown May 16 '17 at 02:16 PM

Thanks for the reply. I found that Waveworks does have a "readback displacements" option which could maybe be used for a buoyancy system later on.

(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