Tuesday, November 28, 2023
HomeVisual EffectsI (beginner) need assistance remaking an previous ShaderForge vertex offset shader into...

I (beginner) need assistance remaking an previous ShaderForge vertex offset shader into Shader Graph in Unity


Hi there! Initially, thanks to your assist upfront, this discussion board has been an superior software to get into VFX.

Im a beginner, i’ve been following Sirhaian’s tutorials to study the fundamentals of VFX in Unity, nevertheless this tutorials are previous, and he makes use of the now deprecated Shader Forge to create his shaders. Happily by wrestle and analysis i had been to re create each shader he made on his tutorials on ShaderGraph, however that solely took me this far. In his Aurora tutorial, he creates an excellent easy shader to create some vertex displacement on a airplane to curve it barely.

That is his consequence:
image

That is what he made in ShaderForge

I’ve tried every part to get this similar consequence with shadergraph however i cant get there, i believe my nodes are proper, as a result of i managed to curve a sphere and the preview on shadergraph seems to be alright, however when i exploit it in my airplane nothing occurs. I learn someplace it may be as a result of i didnt unwrap my uvs, so i did, however nonetheless nothing occurs.

That is what my shader seems to be like, discover it really works on the sphere however not on the airplane.

This are my nodes

This are the UVs on my airplane, idk if there’s something mistaken with them

I simply need that airplane to bend. Due to anybody that replies :smiley:


Hi there paleblood!
It has been some time since I used Unity’s Shader Graph (I’m utilizing amplify shaders principally) so my first thought was: You want to use “Pattern Texture 2D LOD” if you need a texture for use within the vertex stage.

However you present that it really works with the sphere. However received’t harm to attempt (Pattern Texture 2D LOD Node | Shader Graph | 6.9.2)

The following step can be to test the normals of your mesh. If the normals are (0,0,0) for some purpose, you then would multiply the offset by 0 and subsequently including 0 to the place.
Checking and altering normals must be attainable in each DCC software program. In Blender there may be even a command to recalculate the normals.

I hope this fixes the problem!

Hello! i attempted utilizing the Pattern Texture 2D LOD and it didnt work, idk if i did this accurately, it nonetheless works on the sphere.

I additionally tried recalculating normals each inside and out of doors, nonetheless nothing, that is how the normals are displayed in Blender.

Thanks loads for the reply!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments