A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Sorry nope :c my solution at the time was just to scale it up and in the shader scale it back down. really annoying fix but it does the job. Wish...
Unfortunately I am talking about only selected lights as using unlit sprites is not an option. Is there any reason why the 2D Lights only target...
Does anyone know if there is a way for 2D lights to ignore a specific sprite I have in my scene? I can't use the "Target Sorting Layers" because...
Oh i understand now why it easiest as i thought for the sprite renderer to just make this work. Thanks its always useful to learn more about how...
I just recently upgraded to the new 2019.3 URP + 2D renderer pipeline so I can get those sweet new 2D lights. The thing is now I am in the...
I guess the reason why thought the sprite renderer should have this information is just because how else would it know which sprite to renderer...
Yeah pretty much what I am trying to do. I've done this solution before with a script that just feeds the shader the current sprite texture...
Yeah I saw that the Shader Graph actually has a node called "Flipbook" that i think does what you are saying (splits spritesheet into even...
Thanks for posting the code i understand now how you are doing this! Interesting solution that looks like it can be pretty easily integrated into...
Interesting, so for the secondary texture do you generate this via a c# script on runtime or is this something that is done manually?
When making a shader in shader graph that is being applied to a sprite sheet texture, I often want to do things with the UV. The problem is that...
Dang, thats what I was thinking as a possible solution but that makes a mess of things if it gets transformed/ translated in a weird what. Too...
I have a simple shader right now that simply skews and stretches a sprite using a transform matrix: v2f vert(appdata_t IN) {...
I am trying to make a Shader for sprites that simply becomes less or more transparent based on the amount of light shown on the sprite. So if the...
Thanks for the info on the profiler it helps! I've been living by that document to make sure im not doing any unnecessary GC allocs, its very useful!
Thank you for the fast reply! That makes a lot of sense and clears up a lot!
I have been experiencing loss of frames randomly in my project, so I have looked toward the unity profiler to see what could be the issue. I...