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"

How do I get object-space vertices?

Hello there,just moved from Unity to Unreal and I love it so far,but I don't know how to get the object-space vertices,I know how to get them in world-space but that doesn't help much.Thank you for your time,I know it seems dumb but I can't find it anywhere. And also do you know some good books to get started with unreal materials?Beginer and advanced would help a lot.

Product Version: UE 4.21
more ▼

asked Mar 19 '19 at 12:52 PM in Rendering

avatar image

3 1 2

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

1 answer: sort voted first

Local Position node should give you that information, there also "TransformPosition" node which allows you to turn any position data to any space you want.

As for guide i can explain a bit of difference between the engines. UE4 material are littlery shaders, the node network you making generates HLSL code (you can even view output with Windows->Shader Code->HLSL Code) which is later injected to the rest of engine HLSL code base. So all functions you know from HLSL should have there node in material and extra function form the engine, here oyu have material refrence which explains what each node does:


But unlike Unity you can't create shader from scrach, you can only alter engine shader code, in similar fashion as surface shader in Unity, vertex and geometry shader manipulation is also limited to just Telessation Multiplier and World Displacement.

Also there many shading models and shader types, you can find it in property editor if none of the nodes is selected.

more ▼

answered Mar 20 '19 at 04:19 AM

avatar image

37.2k 936 172 1116

avatar image Dante4tw Mar 20 '19 at 05:36 AM

I want to thank you for your explanation,I knew that something was 'Wrong' :) that I created directly in material the shader,and I think that is amazing.Thank you so much again for clarifying this,can't wait to write,scratch that 'node' more shaders :). Much love and peace and an amazing day to you sir!!!

(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