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"

Custom material expression and scene texture

Can I sample the Post Process input 0 from the scene texture, through the custom expression? If yes, then how would I call it?

Thanks!

Product Version: UE 4.13
Tags:
more ▼

asked Nov 26 '16 at 08:39 AM in Using UE4

avatar image

Obscura90
13 2 5 8

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

2 answers: sort voted first

Anyone, plz?

Also , easier one:

How do I get world position or V normal WS, or "time"?

more ▼

answered Nov 28 '16 at 06:34 AM

avatar image

Obscura90
13 2 5 8

avatar image Obscura90 Nov 28 '16 at 10:00 PM

You can't use textures inside the custom expression on the vertex shader? Same thing but with nodes works fine. And if I plug my custom node another attributes, it works...

alt text

alt text

why.jpg (606.8 kB)
works.jpg (656.8 kB)
avatar image Obscura90 Nov 30 '16 at 05:09 PM

I'd still like to know if its possible to sample the post process input 0 through the custom node... Thanks!

avatar image Obscura90 Nov 30 '16 at 09:51 PM

return Texture2DSample(SceneColorTexture,SceneColorTextureSampler,UV);

avatar image Obscura90 Dec 05 '16 at 02:25 PM

Is there a way to do this without clamping the uvs?

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

Hello, I know it's a bit late but it can be useful for other people,

the pin World Position Offset accept only one Vector3 because it moves the whole object from this Vector3.

I think that the pin you want to use is World Displacement, you have to enable Tessalation (click on the material Node and in panel details, search Tesselation and change No Tesselation to Flat Tesselation).

more ▼

answered Oct 14 '18 at 10:15 AM

avatar image

bstt
101 1 3 1

(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