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.
asked Mar 19 '19 at 12:52 PM in Rendering
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.
answered Mar 20 '19 at 04:19 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here