[Best Tool Asset Store Award] Amplify Shader Editor - Node-based Shader Creation Tool

Hi,

I have this very strange problem with ASE shader:

8164997--1062161--d9dea07643cdab7e185d5ff13d6dcd99.gif

Here, the cube is rendered with default HDRP/Lit material. Sphere is rendered with completely blank HD/Lit ASE shader. AO is from HBAO asset. When changing the material on sphere to blank Shader graph shader, the problem goes away.

Sorry, this is not specific to ASE so there aren’t many solutions we can provide here. Consider using a Image Effect based solution.

Anything baked into UV channels must be accessed with the Vertex or Texture Coord node; this is not specific to ASE.
https://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Vertex_TexCoord
https://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Texture_Coordinates

Please don’t be “that person” just because you didn’t get an immediate reply to what you asked.

To answer your question, please post an example shot of the shader you’re using; we need details before recommending anything.

For quicker questions/chatting, use our Discord server: https://discord.gg/zVdqVSp

DDX and DDY nodes are available; you can can always use a Custom Expression if that’s not what you’re looking for.

Depends, can you show us what you’re referring to on the Shader Graph side?

Thanks!

We’ll double check this as it was a recent addition. (we’ll get back yo you)

That’s odd! I’m assuming you’re using an ASE opaque material, we’ll have to test it.

Please let us know what’s your current Unity and ASE version.

Thanks!

1 Like

8165465--1062245--b251ed41c5981089be1e28860c1d4967.png

Yes, it’s an opaque ASE material with default settings for a HD/Lit shader.

Unity 2021.3.3f1.180
ASE 1.8.9r35

Thank you for looking into this!

I also have a feature request - being able to set the normal space for the normals! I think right now it always assumes tangent space.

Found a bug with Depth Offset.

Unity 2021.3.3f1.180
ASE 1.8.9r35

All the best.

Hello,
I have a simple sprite shader that is ignoring white pixels using the Compare node. Problem is, it ignores other colors that are “close to” white. Is there some way to adjust the precision or achieve the required results a different way? Thanks in advance!

Was the POM decal issue ever fixed? I’m having trouble getting it to work:

8175428--1064345--de0cfb3462d6ba704fc7597f726d054c.gif

This is the graph (does not work):

Equivalent shader graph (works):

Which error specifically? (Old post here or bug report?)

https://discussions.unity.com/t/639772 page-142#post-7743039

I’ve looked at the skybox example and what I want to do is, instead of sampling a texture, I want to sample a specific realtime reflection probe. How can I do this in built in renderer?

Hi, I am using Built-in Shaders. How can I have the shadow render differently to main shader? For example, I have a shader which use Dithering for transparency effect, but I want the shadow it casts to be solid, and not with holes.

Thanks

I might be wrong but I think I remember “Rendering Options > Use Default Shadow Caster” does this if you check it. Otherwise, you can always add a static switch for the “UNITY_PASS_SHADOWCASTER” #define and have it affect the dithering differently.

Actually, I think you have to edit the resulting shader manually and remove the “addshadow” pragma if you use the first approach (use default shadow caster).

Thanks, being new to Amplify, can you walk me through the detail a bit? With the second approach, I know how to add static switch, but the rest is not clear to me.

I want to create Amplify shader from editor script. Is this possible?

Hi there,

I’m having an issue with normal map blending. I created a shader with a trim sheet normal map mapped to UV1 and a detail normal map on UV3, which works out great except that the swizzle of the detail normal seems to be affected by the UV1 coordinates

Here are the broken normals:

I checked and double-checked that the normal map is set up correctly, and then I discovered if I went and rotated this area in UV1 180 degrees, the normals were fixed:

I’m a little confused by that because these are tangent-space normal maps and I thought the rotation of a UV shouldn’t actually have any effect on the shading. Here’s my node setup:

And the UV1 mapping (mapped to an empty area on the trim sheet):

8191872--1067970--blender_9n5UEJFvgs.png

Appreciate any and all help. Thanks!

8192232--1068078--88663adeec566a1fe945fb5a1d26351d.png

@mjako64

You can’t rotate a tangent space map w/o affecting the lighting.

I’m wondering if one of those maps has incorrect DirectX vs OpenGL normals? Have you tried multiplying the Y-channel with -1 before blending the normals? Or just invert the green channel with levels in photoshop.

Thanks for replying. That was my first guess as well, but both maps are +Y so that can’t be it.
I should’ve specified, I didn’t rotate the normal map, I rotated the UVs in UV1 and the normal map that uses UV1 is completely flat there.

That’s what I meant tho, you can’t rotate the UVs w/o it affecting the map. If you rotate the UVs you would have to rotate the tangent and bitangent the same amount, otherwise the map won’t be interpreted the same.

Not sure what is wrong with the blend normals.

Not yet, hopefully in an upcoming update. (we’re a bit behind, shorthanded)

Depends, is this Reflection probe affecting the object that will use the shader?
You might need something custom to assign the texture to your shader; if using an Indirect Specular Light node is not feasible.

Not necessarily, what exactly do you intend to automate?

Not sure, feel free to send a sample to support@amplify.pt