PostFx issue

Scripting questions, discussions, etc
5 posts Page 1 of 1
Hodo33
Posts: 86
Joined: Fri Dec 29, 2017 4:34 pm
by Hodo33 » Sat Dec 29, 2018 10:36 pm
Trying to do a release build ( removing cs files ) I get errors in the console

core/scripts/client/postFx/postFXManager.gui.settings.cs (37): Unable to find object: 'SSAOPostFx' attempting to call function 'disable'

same for all the others

If I put the cs files in everything runs fine. Is there a switch to make the shaders use the dso files?
function initPostEffects() looks for cs files then dso but the dso won't work properly.
Any clues ?
Duion
Posts: 1369
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Sun Dec 30, 2018 11:09 am
Just put the cs file in there, it is just the graphic settings, see if it runs then.
Hodo33
Posts: 86
Joined: Fri Dec 29, 2017 4:34 pm
by Hodo33 » Sun Dec 30, 2018 3:13 pm
Yeah it runs fine with the script files in but it should run properly with the dso files yes?
Duion
Posts: 1369
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Sun Dec 30, 2018 5:34 pm
I mean to only add that one specific cs file not all the cs files.
Hodo33
Posts: 86
Joined: Fri Dec 29, 2017 4:34 pm
by Hodo33 » Mon Dec 31, 2018 3:00 pm
I added one but the rest wouldn't run till I added each cs. I think I remembered a switch somewhere to build or rebuild shaders.
5 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests