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. 

Calculate or get pixel normal in view space (version containing actual useful answer)

I have PixelNormalWS. I want it to be PixelNormalSS (screen space/view space, ie normal relative to camera). I would expect there to be some nice node for use, so I don't have to mess around with Matrix multiplications and such.

I have found this utterly useless answer - https://answers.unrealengine.com/questions/71702/calculate-or-get-pixel-normal-in-view-space.html

Which is utterly useless, because only transform nodes I have are these, none of which seem to be what I want. both bottom transforms are TO WORLD SPACE, and I seem to be unable to find ANY "transform TO SCREEN SPACE". alt text

Any help would be appreciated.

Product Version: UE 4.14
Tags:
transformodes.png (14.2 kB)
more ▼

asked Jan 06 '18 at 02:12 PM in Blueprint Scripting

avatar image

Midnight.sh_code
3 1 3

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

2 answers: sort voted first

Oh. Okay. The actual useful answer is "many nodes have settings in the Details pane, which completely change their behavior, often in ways one would expect to be a separate function and therefore a separate node. So you DO use a Transform node, and then in Details you specify FROM and TO what coordinates you want to transform". alt text

THIS is how you provide useful answers, @RyanB . You're welcome.

transformodes.png (34.3 kB)
more ▼

answered Jan 06 '18 at 02:24 PM

avatar image

Midnight.sh_code
3 1 3

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

If you look into Transform node settings, you can find that it is configurable, so you can set transform from World to View, or whatever.

more ▼

answered Jan 06 '18 at 02:21 PM

avatar image

redbox
4.3k 80 17 104

avatar image Midnight.sh_code Jan 06 '18 at 02:25 PM

yes, I just noticed that. funny how nobody else bothered to mention it, from the about 10 pages of docs and q&a i've read before posting the question. thanks

(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