Here is the place for:
• General discussion
• Request features
• Ask questions
• Report bugs
Give feedbacks, share you made with Shader Weaver and help Shader Weaver be better!
I have created a shader effect in ShaderWeaver to move parts an image, making it sway back and forth.
Its quite fiddly to setup in ShaderWeaver, and I wonder if you could add a new bespoke node in a future ShaderWeaver release that creates this effect. (without the fiddly setup)
Its similar the animated UV effects seen in this video between 3:00 - 4:00 mins
The setup I use in ShaderWeaver to have a similar effect produces this (gif)
Although there aren't many nodes, I think a bespoke 'motion' or 'uv sway' node could make this easier:
- Remove the the need for the red/black textures, and allow number input / sin or cos waves to be used.
- Each of the uv1 and iv1copy nodes need a delicate setup, with
- Basic -> position,
- Basic -> scale,
- Move -> x/y,
- UV R: X/Y
- all in use, which makes is fiddly to setup and to see what each changes does.
- Basic -> position,
- A new node is needed for each wave of motion to be layered in.
There are doubtless more similar effects that could be easily made if there were custom nodes for this functionality (like the UV zoom shown in the Shadero video (linked above))
My shader file is here: https://drive.google.com/file/d/1iLDWdjpUtYo2q6e2winWE2Y_MOghNcIa/view?usp=sharing
It has been added in SW 1.7.1
I just started to learn unity,so I have to stick to the tutorials as I'm not familiar with basics of shaderweaver. I followed the tutorial step by step ,and I got stuck on the tutorial 16.I couldn't find option on mixer node,not sure it's a glitch or what.plz let me know if u figure out what's happening.
The interface of mix node is now different from tutorial video. Check 'ShaderWeaver/Tutorials' in your project. They are all latest. You should link an alpha node to the left of mixer node.
I noticed that Shader Weaver's mask texture size is 512x512. Will there be more options?
Resolution setting for mask/remap nodes is added in the upcoming Shader Weaver 1.30
Disappear on second load. It load first time well but second time UI Prefab reload it makes invisible or black.
I am using for back ground cloud motion , button ramp and smoke effect in different screens which are UI prefabs actually.
in first time load they appear nice as it should.
From second time it makes screen black in which effect is used.
Testing in android.
it worked well for me in past but facing issue now.
I am trying to make an UI version of dissolve shader. I know there is an example for sprite. I changed it's shader type to UI however didn't work.
I tried to created from empty one. Unfortunately I couldn't it. Can you make an example or more examples for UI elements please?
Shader created by Shader Weaver has no problem when changing to UI.
However, the animation created by Unity's Animator is used in that 'Dissolve' effect. It builds on Sprite.
You can do animation for UI, like the one use for Sprite.
Basicly, set the Image color and material param the same value in the same animation frame as animation for sprite.
Once your animation is done, it will work just as the Sprite Dissolve.
I will consider make UI versions for some Sprite Examples.(Not guarantee)
Thanks for the suggestion.
I want to use remap, but I can't get a line automatically.
The ReadMe.txt is poor to read, but provides most of the info.
If you have any furthur questions, just leave it on the forum.
I've been using shader weaver for a bit to make my UI look better. I've been wondering if I can also use it for the shaders on my particle system since I'm using 2d sprites there.
Is there some way to plug the custom vertex streams into shader weaver? And if so how can it be done?
Shader Weaver does not support this feature yet, but you can modify the vetex program in shader code after Shader Weaver.
Beaware that, everytime you 'save' in Shader Weaver. All shader file will be coverd with new content.
Or use model's vertex animation from maya/blender and use both of Shader Weaver FX and animation.
My shaders are not working well with images used in sprite atlas. If i remove the images from the atlas they work perfectly.
Left image is no sprite atlas, right image is with sprite atlas
Video of the shader
I found no examplel on how to activation of the shader effect by using c# code. Can you give me a simple example of how to use the shaders using code?
For example, say I got a magic scroll. Now my normal sword is stronger and I want to show the sword is glowing now. How can I do this via programming using your tool? Thanks!
Sorry for the inconvience,
I think the easiest way to do it is that you have 2 sword under same parent, and use GameObject.SetActive() to hide the normal sword and activate the one with Shader Weaver effects.
Customer support service by UserEcho