Blinn-Phong Light Function doesn't work with Mixed Light

Node-based Shader Editor

Blinn-Phong Light Function doesn't work with Mixed Light

Postby Arthurullo » Thu Mar 08, 2018 2:47 pm

Hello forum!

I'm trying to develop my own lighting function using the "Blinn-Phong Light Function Node" but it doesn't work correctly with lightmaps when you have a mixed light.

It works fine if you have all the scene lightmapped or if your lights are only dynamic, but you can't use the mixed mode.

I'm baking the scene using the mixed lightning mode Shadowmask (only shadowmask, I don't need the distance shadowmask thing)and Enlighten as lightmapper, with Unity 2017.3.0f3 and Amplify version 1.4.4

Thanks for your time!
Arthurullo
 
Posts: 5
Joined: Tue Dec 05, 2017 10:46 am

Re: Blinn-Phong Light Function doesn't work with Mixed Light

Postby Amplify_Borba » Thu Mar 08, 2018 3:07 pm

Hello, thank you for reporting this issue!

Blinn Phong should work with mixed lighting, could you download the latest ASE version and see if this behavior still manifests?

If so, could you send us a simple sample project with the issue present so that we can debug it on our side? Thanks!
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
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Blinn-Phong Light Function doesn't work with Mixed Light

Postby Arthurullo » Thu Mar 08, 2018 4:19 pm

Hi Borba, and thanks for the quick reply!

I've just downloaded the latest version and the issue still happens :(
I've prepared a demo project with 3 scenes (located in the root folder). The three scenes got the same elements:
-A Static empty father who got two childs, a sphere and a cube both statics.
-A Dynamic empty father who got two childs, a sphere and a cube both no statics.
-A static ground.
-A Directional Light who changes in every scene (baked, realtime, mixed).
The shader and the material are both located in the root folder too.

I'm dropping you here the download link:
https://we.tl/UNXpzOlq9F

Thanks a lot! :D
Arthurullo
 
Posts: 5
Joined: Tue Dec 05, 2017 10:46 am

Re: Blinn-Phong Light Function doesn't work with Mixed Light

Postby Amplify_Borba » Tue Mar 13, 2018 10:02 am

Hello, apologies for the delay in getting back to you on this issue as its still being investigated by the developer, I'll let you know as soon as we have any further developments, thank you for your patience!
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
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Blinn-Phong Light Function doesn't work with Mixed Light

Postby Amplify_Borba » Wed Apr 04, 2018 5:50 pm

Hey there, we've managed to fix this issue on most Unity versions we've tested, unfortunately, it's still present in 5.6 due to Unity related issues, but that shouldn't affect you since you're using a more recent version.

We've just patched it into a new build that is available through our website, feel free to take it for a spin, feedback is always welcome!

Thank you for your patience!
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
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 79 guests