+1
Completed

Node for Texture Panning

nighthammer 11 years ago updated by Freya Holmér (Developer) 11 years ago 5

Is it Possible to make a Node like the Panner Node in UDK to move the Textures UV Coors across the X and Y Axis?

This would be very handy. 

Answer

Answer
Completed

This was added in alpha 0.09 :)

Ah thanks.

Yeah this works for now. I have already seen that a UV Panning Node is Planned.

I got a little problem here.

When i save my Shader and than reopen it one of the Nodes Disconnects itself.

The marked one on this Image:

https://dl.dropboxusercontent.com/u/37291956/Unbenannt.PNG

This appears in the Error Log:

https://dl.dropboxusercontent.com/u/37291956/Unbenannt2.PNG


When i reconnect the Node the Cloud Texture panns nicely across the Planet. But when i press the play Button in Unity it Only Pans when the Shaderforge Window is Open.

Also i got this Errors on Play:

https://dl.dropboxusercontent.com/u/37291956/Unbenannt3.PNG


I could post a link to Download the Project if it helps

The disconnect issue is related to the Append and Component mask nodes, due to their dynamic nature, so it's a known issue :)

The time node only animates when SF is open, because "Game Time" doesn't run in the editor, so the shaders are compiled with a parameter of "Editor Time" that only Shader Forge can keep up-to-date. It's a planned fix: http://shaderforge.userecho.com/topic/249187-shaders-using-the-time-node-doesnt-animate-in-game/

Alright.

Thanks. Cant wait till its finished. I love to work with ShaderForge

Answer
Completed

This was added in alpha 0.09 :)