#thanks, Ill check both out!
1 messages · Page 1 of 1 (latest)
Probably a dumb question but it says it works in 2022LTS im using Unity 6 LTS im assuming the open source one wont work?
i am not sure.., but thinking back to its code, i think it will.
i actually modified it to only do the outline effect, and to control the size and intensity. i really should post it somewhere
yeah I cant figure it out im prob just dumb
i tried in 2022 and unity 6, attach the hlsl file but after that in u6 i get a weird error regarding var before assignment and in 2022 the object is just invisible
perhaps show the error
all I did was copy the 3 files
and i have 0 hlsl knowledge to even debug this 😂
Ok, so it said that in both 2022 and 6?
no just in u6
in 2022 the material was just completely invisible
but Im not using 2022 for my proj so i dont really care bout that
one sec, let me go look at the code to refresh my memory
i appreciate it
Ok, so this is meant to be used as a full-screen post process effect, not as a material per item. are you setting it up as such (post process)?
oh I thought you could one or the other from reading the read me
Im trying to outline meshes when the player interacts with them so I kinda need the former
i never tried it as a material per item, so i honestly have no idea how that would work, but it seems it should be a similar setup in the Shader Graph, to the way you have it.
Oh, i see.. hmm. there may be better assets for that., but to be honest, i hack my way through most things, so i am not a 'oh, i'll look at it and know' when it come to shaders. If you are looking specifically to outline on interact, a simpler shader may work. let me see if i can find a free one. so, you already programmed the Logic to interact?
yeah yeah im good with the coding part, the issue is the shader because the videos all say yeah straight edges causes issues and I cannot find anywhere where it would just work normally
my experience when it comes to shaders is a big 0 so thats why i just blindly follow tutorials
the whole bottom is useless for what im doing (its just to make it scale with the camera)
i think your best bet would be to ask the #archived-shaders guys, as they should know. I only got it working as a post process, and i am not even sure where that test project went :/ if you Do end up getting it working for you, i can send you the code i made to extend your control over it though