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
Projector Shader issue
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Projector Shader issue
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!
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Projector Shader issue
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!
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Re: Projector Shader issue
That's great just checked it out, but I don't really know how to use these matrices 
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?
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?
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Projector Shader issue
DuvE wrote:That's great just checked it out, but I don't really know how to use these matrices
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:For example, how can I turn this https://prnt.sc/hiweqv into a working shader for Unity's Projector?
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.DuvE wrote:Apparently, Projector Matrix nodes have not yet appeared in the manual and nodes list.
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Re: Projector Shader issue
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
_AuraSourcePosition - is just a projector position in world space
- Attachments
-
- Shaders.rar
- PBR lava mask projector shader and simple (working) darkening shader.
- (5.69 KiB) Downloaded 834 times
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Projector Shader issue
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!
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!