Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Snapshot Shaders Pro for Unity

A collection of 34 image effects for Unity URP, HDRP, and Built-in · By Daniel Ilett

Unity 2019.3.13f1/URP - Can't manage to make it work

A topic by MlleDR created May 18, 2020 Views: 748 Replies: 3
Viewing posts 1 to 4

Hi Daniel, 

First of all many thanks for the shaders you provided. Even though it's not quite working for me right now, I'm sure we'll manage to fix it.

I'm working on Unity 2019.3.13f1 with the latest URP. First, I followed the steps in the PDF but can't see any difference on the camera render. Moreover I'm getting an infinite loop on "Save Assets" that started to pop when I changed Painting, I think to Dither. I now have to kill the project directly in the task manager.

In the scene, I have a Global Volume with Post Processing effect, but that game object is deactivated. As for the graphics settings, I changed them as you instructed in the pdf.


Could you guide me in using your asset? Many thanks!

Developer

Thanks for downloading the shaders! I believe some of these issues might be something to do with the later versions of URP - these assets were created with 7.1.8 - and I've just had a nightmare of a time trying to get the effects to work myself, but I think many of the isses can be solved by changing the Render Pass Event variable of each effect to "Before Rendering Post Processing".

That said, the Dither effect in particular is still broken and has that strange infinite loop you mention. Thanks for bringing it to my attention - I don't know what's causing it yet, but I'll investigate asap. The other effects that have that loop bug are Fancy Neon, Fancy Outline, Sobel Neon and Sobel Outline.

I hope that fixes some of the problems!

Bingo ! That was it ! Put the render Pass to "Before Rendering Post Processing" and voilà :)

You're right for the infinite loops on Fancy Neon, Fancy Outline, Sobel Neon and Sobel Outline.  Also may I report that when this happens, kill Unity, reopen it and just select the asset SnapshotRenderer and the infinite loop comes again. My work around is to delete the whole package from the local folder of the project and re-import the package.

Many thanks for your help and I hope you'll manage to muddle through the version issues :) See you soon!

Developer

I think I've found the issue with those infinite loops. In each of the C# files for those effects, in the Create method near the bottom, you'll see I'm changing the name variable? Comment out that line and see if the infinite loop is gone. 

Unity seems to not like having parentheses in the name, so I think what's happening is: the shader gets added to the Renderer Features list, Create is triggered and the name is updated. Unity sees the invalid name and removes the parentheses. This triggers the Create method (for whatever reason, any change to the variables in-Editor seem to trigger Create), so the name gets changed, so Unity removes the parentheses, so Create is triggered, and so on. 

Note, I'm working with 2019.3.15f1 now and the latest URP. Seems that "Before Rendering Post Processing" messes with the Scene View, and "After Rendering Post Processing" works again. I'll include information regarding this in the next update's documentation.

Thanks for your patience on this!