Lod fade node not working

Node-based Shader Editor

Lod fade node not working

Postby GeorgeV » Wed Sep 05, 2018 1:14 pm

Hello,

I am using Amplify shader 1.5.6, and i have problem with Lod fade node to make it work, i followed instruction on your wiki page and forum post viewtopic.php?f=23&t=732,
but still have problem.

When i have everything set in shader for LoD fade, mesh just disappear and appear when lod transition happen but when transition end again cant be seen.

If you need more detail about my shader, screenshot or something i can provide.

thanks
GeorgeV
 
Posts: 4
Joined: Wed Sep 05, 2018 1:03 pm

Re: Lod fade node not working

Postby Ricardo Teixeira » Wed Sep 05, 2018 1:41 pm

Greetings,

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

What's your current Unity version?

Thanks!
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Lod fade node not working

Postby GeorgeV » Thu Sep 06, 2018 12:48 pm

Hey, Unity 2018.1.3 version is in my current project, didn't test shader in any other version.
GeorgeV
 
Posts: 4
Joined: Wed Sep 05, 2018 1:03 pm

Re: Lod fade node not working

Postby Ricardo Teixeira » Thu Sep 06, 2018 12:53 pm

GeorgeV wrote:Hey, Unity 2018.1.3 version is in my current project, didn't test shader in any other version.


Thank you for the additional information.

Any chance of a sample?
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Lod fade node not working

Postby GeorgeV » Fri Sep 07, 2018 8:33 am

hey, here is test lod fade shader, and lod groupe, again i can see transition happening but mesh is invisible after transition.
Attachments
LOD.JPG
LOD.JPG (45.99 KiB) Viewed 1986 times
lodFadeShader.rar
(1.73 KiB) Downloaded 168 times
GeorgeV
 
Posts: 4
Joined: Wed Sep 05, 2018 1:03 pm

Re: Lod fade node not working

Postby Ricardo Teixeira » Fri Sep 07, 2018 11:52 am

GeorgeV wrote:hey, here is test lod fade shader, and lod groupe, again i can see transition happening but mesh is invisible after transition.


Thank you for the sample, I understand what you meant now. As mentioned in the LOD Fade node Wiki Node page, the value only represents the fade created by LODGroups and returns 0 when not fading, this means that some additional logic might be necessary when the objects aren't fading but are still being rendered.

A simple Compare node should do it.

Image

Hope it helps!
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Lod fade node not working

Postby GeorgeV » Fri Sep 07, 2018 2:26 pm

Thanks that solved my problem with lod fade :)
GeorgeV
 
Posts: 4
Joined: Wed Sep 05, 2018 1:03 pm

Re: Lod fade node not working

Postby Ricardo Teixeira » Fri Sep 07, 2018 4:18 pm

GeorgeV wrote:Thanks that solved my problem with lod fade :)


Awesome ;)
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 49 guests