Page 1 of 1

FlowMaps

PostPosted: Tue May 15, 2018 9:24 am
by CGDaVnci
Hi, I'm trying to compile the function FlowMap, as it is realized in UnrealEngine4. I almost collected it, but I ran into two problems.
1- this I can not find a node Switch(It is necessary with three parameters : True , False , Value)
2-in the output parameter of the function there is no type StaticBool which is available in UnrealEngine4.

Re: FlowMaps

PostPosted: Tue May 15, 2018 10:47 am
by Ricardo Teixeira
Hello,

Thank you for getting in touch, we would be happy to help.

Technically, there are no bool types available in shader development, you will have to circumvent this limitation using Switches, Toggles, or IF nodes.

1. The solutions provided in the UE4 editor are specific to their engine, please use the available alternatives under Logical Operators.

2. I'm not familiar with that Custom Expression but you'll definitely have to rework the way the "bool" is setup in our own Custom Expression node.

For your convenience, be sure to check the upcoming flowmap community sample attached; Shader Function included.

Thanks!

Re: FlowMaps

PostPosted: Tue May 15, 2018 5:43 pm
by CGDaVnci
Thank you very much. Very quickly responded to my question .. I do not regret that I bought your wonderful product for a money. I will deal with the alternative method to realize the function, as in UnrealEngine4.

Re: FlowMaps

PostPosted: Fri May 18, 2018 9:08 am
by CGDaVnci
Hi, I was able to collect the function FlowMaps_Sample . And I'm picking up the material by this link https://www.sidefx.com/tutorials/flowma ... for-games/ And I ran into a problem - if you rewind the timeline to an interval of 25:46, then the author of the video tutorial starts collecting nodes and then hooks the very first node (Multiply) to WORLD POSITION OFFSET. How I correctly understood that in my case it is LOCAL VERTEX OFFSET.But, when I did this, I had a Mesh Plane flew somewhere. I tried different options Vertex Output : Relative , Absolute.and could not achieve the result necessary to me((

Re: FlowMaps

PostPosted: Fri May 18, 2018 10:32 am
by Ricardo Teixeira
CGDaVnci wrote:Hi, I was able to collect the function FlowMaps_Sample . And I'm picking up the material by this link https://www.sidefx.com/tutorials/flowma ... for-games/ And I ran into a problem - if you rewind the timeline to an interval of 25:46, then the author of the video tutorial starts collecting nodes and then hooks the very first node (Multiply) to WORLD POSITION OFFSET. How I correctly understood that in my case it is LOCAL VERTEX OFFSET.But, when I did this, I had a Mesh Plane flew somewhere. I tried different options Vertex Output : Relative , Absolute.and could not achieve the result necessary to me((


Hello,

Apologies for the inconvenience but there's no way we can know for sure what's causing the issue; the Local Vertex Offset is the right place to plug any node networks that would allow you to displace the geometry.

If I had to guess, I would say it's probably caused by the values used, Unreal to Unity conversion are almost never 1-1 (regardless of using ASE) - you will need to adapt it to your Unity project. Start by identifying what broke it and move from there.

I would be happy to examine a sample but I can't guarantee that it will work as you intend.

Have you had the chance to examine the sample I shared earlier? It's a functional flowmap shader.

Thanks!