Announcement

Collapse
No announcement yet.

sample material function at specific coordinates?

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

    sample material function at specific coordinates?

    I have a material function generating waves

    I'd like to sample the height of the waves at specific points relative to an intersecting actor

    ... How might I do this in a blueprint? probably obvious, but Im a noob, apologies

    thanks

    #2
    To clarify:

    - ive set up a material function to generate Gerstner waves (thanks Handkor)
    - In order to mimic bouyancy and have objects sliding down waves Id like to sample the wave height at points relative to the floating object's centre
    - Im trying to do it in blueprints

    Q how can you sample the output of a material function at specific points, in a blueprint?

    i.e. return (value of property x) from material function(MF_given) at (x,y)


    Ive trawled the documentation and you would think that it would be a fairly common thing to do,
    but I cant see it


    One way is to use a RenderTarget, but I gather but this is expensive
    [PS I am aware of the excellent work at the https://forums.unrealengine.com/show...with-Downloads and have also posted this question there]

    Perhaps it cannot be done in only a blueprint, requires code?
    Last edited by extropy; 02-07-2015, 10:43 AM.

    Comment

    Working...
    X