I am new to shaders, so sorry if I am missing something obvious here.
I tried to create a shader following a youtube-video, and I am quite sure I did everything just as shown in the video, however my effect doesn´t work as intended.
I uploaded screenshots and a GIF to demonstrate how it should look like and how it does look like in my case.
(Sorry vor the bad quality of the GIF, the value I am changing is the “Effect” property, “Range” is set to 5).
The video I am referencing was created using Unity URP.
I am on HDRP using a HDRP lit shader, but the creator of the shader/video said it should work the same.
Unity 2021.3.11f1, HDRP Version12.1.7
Would be so glad if someone had an idea!
Thanks in Advance!
Hey thanks for the reply!
Do you really think? I can clearly see a difference: In my version it appears like only some kind of material outline (for the lack of better knowledge) is moving towards the black hole, not the “substance” of the material. Or in other words, in my case the shader dissolves towards the center of the Gameobject its attached to, when it should dissolve / get stretched towards the black hole.
Hi there, I believe you are talking about the outline of the object in the scene window, this outline is calculated by Unity and is only for development purposes so it is normal for it not to change with the mesh
yeah the orange outline is for selection,
shader needs custom pass in shader to show correct outline for modified mesh,
but not sure if/how to do in shadergraph/hdrp…
search for: Name “SceneSelectionPass”
to see more info