#How can i extract a shader from unity?
1 messages · Page 1 of 1 (latest)
what the heck are you talking about
THe left one is a shader in an asset bundle, the one on the right is when i extracted it then put it on the material to the sphere on the right
Show the inspector
If you're talking about AssetStudio, it clearly says it's not a working shader. You have to manually edit it.
im not
Non Working white sphere:
Working (asset bundle) shader sphere:
Check if the shader has any error
it doesnt
Also, wdym by "extracted"
i also found the actual shader itself, without being in an assetbundle, but when i use that its still the same white sphere
from an asset bundle
And why are you extracting from an AssetBundle anyway.
The shader in AssetBundle is compiled. So it won't work without manually editing it, as mentioned.
^
Since you have both (the working one, and the not-extracted one) already, just open them and check if they're different
non extracted is basically the same
it has other shader code, but it is for other stuff
i just set the img itself to the dither mask and it worked
now i just need to find out why
i can just set the mat to a 1x1 black img, but that feels jank
oh nvm