Amplifying your potential.

Projector Shader issue

Node-based Shader Editor
7 posts • Page 1 of 1

Projector Shader issue

Postby DuvE » Thu Nov 30, 2017 6:00 am

Hi, I want to make a simple darkening shader for unity built-in projector. But it works very weirdly, sometimes after compilation, everything is good. But now I made some changes and then reverted them back, hit "Compile button" and shader goes full black. Here is node tree and shot video:

Node tree - https://prnt.sc/hh3vpv
Video - https://youtu.be/tqr6Eek6Eyg

UPDATE:

For some reason, when I changed the blending mode from premultiplied to custom (without changing actual parameters) it started working properly. From this https://prnt.sc/hh80yr to this https://prnt.sc/hh816x

But now I need to make PBR version of this, and I have the same issue again http://prntscr.com/hh83yj and result https://prnt.sc/hh84fe
DuvE
 
Posts: 5
Joined: Thu Nov 23, 2017 6:46 pm

Re: Projector Shader issue

Postby Amplify_Borba » Thu Nov 30, 2017 3:58 pm

Hello, thank you for taking the time to report this issue!

Upon investigating the problem you're having with Unity's Built-in Projector, we noticed that we need to provide access to some matrices that are not yet available in ASE in order to use it correctly.

We'll be sure to get back in touch with you as soon as we have some new developments, apologies for the inconvenience!
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: 129
Joined: Mon Jul 24, 2017 9:50 am

Re: Projector Shader issue

Postby Amplify_Borba » Fri Dec 01, 2017 6:13 pm

Hey there!

I'm getting back in touch to inform that we have pushed a new ASE build that is available on our website's download page, v1.3.9.003 – 1st December 2017 – Stable, in which we've added two nodes that will provide you the means to work with Unity's Projector, the 'Projector Matrix' and 'Projector Clip Matrix' nodes.

Don't hesitate to get back in touch should you have any further questions or feedback, 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: 129
Joined: Mon Jul 24, 2017 9:50 am

Re: Projector Shader issue

Postby DuvE » Mon Dec 04, 2017 1:10 pm

That's great just checked it out, but I don't really know how to use these matrices :D
Apparently, Projector Matrix nodes have not yet appeared in the manual and nodes list.

For example, how can I turn this https://prnt.sc/hiweqv into a working shader for Unity's Projector?
DuvE
 
Posts: 5
Joined: Thu Nov 23, 2017 6:46 pm

Re: Projector Shader issue

Postby Amplify_Borba » Mon Dec 04, 2017 6:25 pm

DuvE wrote:That's great just checked it out, but I don't really know how to use these matrices


DuvE wrote:For example, how can I turn this https://prnt.sc/hiweqv into a working shader for Unity's Projector?


Would you be able to send us the shader so that we can take a look into it? We are a bit overburdened but we'll do our best to get back in touch as soon as possible and point you the right way!


DuvE wrote:Apparently, Projector Matrix nodes have not yet appeared in the manual and nodes list.


Apologies for this, even though most nodes are populated our wiki page is a work-in-progress and newly added nodes might take some time do be detailed in the wiki.


Looking forward to your reply!
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: 129
Joined: Mon Jul 24, 2017 9:50 am

Re: Projector Shader issue

Postby DuvE » Mon Dec 04, 2017 8:21 pm

Sure, here is the shader. I wanted to create a projector, that project PBR magma (for example) material with distance mask (Alpha Blender or Cutout Mask) to all meshes. But neither mask nor lighting works properly. Also added a simple darkening shader, which actually works properly.

_AuraSourcePosition - is just a projector position in world space
Attachments
Shaders.rar
PBR lava mask projector shader and simple (working) darkening shader.
(5.71 KiB) Downloaded 2 times
DuvE
 
Posts: 5
Joined: Thu Nov 23, 2017 6:46 pm

Re: Projector Shader issue

Postby Amplify_Borba » Tue Dec 05, 2017 4:55 pm

Thank you for sending us the shader, it will be extremely useful in order for us to best help you solve this situation!

We're going to take a look at it as soon as possible and see if there are any issues present, we'll get back in touch when we have any new developments, 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: 129
Joined: Mon Jul 24, 2017 9:50 am


7 posts • Page 1 of 1

Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 1 guest