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. 

custom node: return SceneTextureLookup(uv,14,false) not working

Hello there, in Post Process material the hlsl code in a custom-node ("return SceneTextureLookup(uv,14,false);" always says [SM5] /Engine/Generated/Material.ush(1410,8-46): error X3004: undeclared identifier 'SceneTextureLookup'. In Window -> HLSL Code there is a correct function defined: float4 (float2 UV, int SceneTextureIndex, bool bFiltered) {...}

Other functions work too... So either i miss something really badly or there is something wrong with this shader function. I experienced this problem in 4.21 and 4.19.2

Maybe someone can help me with it.

regards Daniel

Product Version: UE 4.21
Tags:
more ▼

asked Dec 22 '18 at 07:24 AM in Rendering

avatar image

Daniel Mø
1 2 4

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

1 answer: sort voted first

Gotta use scene texture material expression in your graph before the custom node.

more ▼

answered Dec 22 '18 at 05:02 PM

avatar image

Deathrey
7.8k 130 31 292

avatar image Daniel Mø Dec 23 '18 at 02:23 AM

Already got it to work. Might be too late yesterday :). Thank you.

(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