VFX graph 2021.2b vertex position (SOLVED)

According to this link Visual Effect Target | Visual Effect Graph | 12.0.0, and Rendering and visual effects roadmap | Unity, the unity road map. I should be able to modify my lit particle meshes vertex position. But when I add the vertex output node in shader graph with the render target set to Visual Effect the position node becomes greyed out and nothing happens to the mesh. If I change the target and add the material to a mesh in the inspector it behaves as expected with the correct vertex displacement.

I’ve tried to find a solution for a couple of days now but I’m stuck.
Do any of you have a solution? Thanks!

Also, I’m using URP and unity version 2021.2b.

Hi @wichilowat ,

This functionality for URP is fresh out of the oven and just landed :slight_smile: You’ll be able to access it in the next beta: 2021.2.0b15 which, bar any unforeseen circumstances, should become available later this week.

You won’t need to use a Visual Effect target anymore, just Universal if you are in URP, and you need to tick the Support VFX Graph option at the bottom of the Graph settings:

It should be on by default, but for visibility, you can also toggle between the old and the new improved ShaderGraph integration in the VFX Graph in Preferences > Visual Effects:

Hope this helps!


7544584--932275--upload_2021-10-4_11-45-43.png

5 Likes

Okay thanks!

So did this make it into Unity 2021.2, I’m trying to use it but it won’t let me drag the shader graph onto here:

My shader graph

not allowing me to select it here:
7782135--981903--upload_2022-1-5_9-18-51.png

Hey @SniperED007 ,

Replying here as well; is it possible that you are tryin to assign the shader graph asset parent? (you have to drag it’s child):

A few other possible reasons:

  • Have you saved the ShaderGraph after you’ve made it support the VFX Graph?
  • Are you using anything unsupported? (i.e. are there any console warnings) These can include things like Decal or Sprite type materials in URP, or having exposed blackboard bools, enums, and a few other types.

7782633--981984--l5iUfVEBsT.gif

wow, ok thanks, didn’t know I had to expand it out.
You should probably update this as it’s not clear that you have to do that.

Working with Shader Graph in the Visual Effect Graph | Visual Effect Graph | 12.1.2 (unity.cn)

  • In the interface for output contexts, assign your compatible Shader Graph to the Shader Graph property. The following output contexts support Shader Graphs:
3 Likes

Thanks for the feedback! Will raise it with the team and see if we can improve things a bit.

1 Like

Thanks @VladVNeykov that fixed it for me!

1 Like