Community Forum

LUA Shader functions

Forum Overview >> Farming Simulator 15

CategoryFarming Simulator 15
Created13.05.2015 13:44


Martin Fabik (Hungar) 13.05.2015 13:51
Hi,

I want to create script which is similar to function of indoor Hud spec, but I don't know function which sending data (parameters) into a shader. Can you tell me which LUA functions control shaders?

Regards, Martin Fabík

PS: Sorry for my english.

Emil Drefers (giants.edrefers) 15.05.2015 09:19
Hi,

the script function you are looking for is:
setShaderParameter()

You can find more infos about it in the documentation:
http://gdn.giants-software.com/documentation_scripting.php

Cheers,
Emil

Martin Fabik (Hungar) 15.05.2015 21:16
Hi,

thanks a lot for answer. It's very useful for me.

Regards, Martin Fabík


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