Community Forum

scroller

Forum Overview >> Farming Simulator 15

CategoryFarming Simulator 15
Created21.08.2016 18:03


Torlasco (diego_gg111) 21.08.2016 18:06
Hello,

What attribute determinate the radius of the rotation of a shaderParameterName="scrollPosition" (like the ones in the potato planters or the chains in the forrage wagons) I'm not talking about the uv scrollers, I'm talking about the shapes that scroll.
thanks a lot
cheers.

Emil Drefers (Unknown) 29.08.2016 07:33
Hi,

you can always open the corresponding shader.xml file and have a look at the available arguments.

Cheers,
Emil

Torlasco (diego_gg111) 31.08.2016 03:22
Thanks for your answer.

I see that there are four values for "lengthAndRadius", just the 2 first ones are used, like <CustomParameter name="lengthAndRadius" value="7.877 0.059 0.0 0.0"/> (I assume that the second one is the radius).
If I want to make a scroller with two different radius, what values should I change? the fourth one? like, for instance, <CustomParameter name="lengthAndRadius" value="7.877 0.059 0.0 0.02"/> to make one radius 0.059 and the other 0.02?
BTW, those are the actual values for the radius or the radius come as result from the relation between those values and the "defaultValue="1 0.146 0 0" " from the shader?
(I'm trying to achieve a chain drive like this one):
https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSqT1XGKCthK0JshRh3TcGL84G-cnVIMZF6uAfNjxr9kry34GOWQg




Note: Log in to post. Create a new account here.