Re: BGS - The BackgroundSet v1.10.9
Posted: Sat May 23, 2015 10:33 am
Thanks, I'll test it a bitNorby wrote:Please test it for sure and feel free to make a proper fix.
For information and discussion about Oolite.
https://bb.oolite.space/
Thanks, I'll test it a bitNorby wrote:Please test it for sure and feel free to make a proper fix.
discard may be another factor (there's no other way though).atan2 > atan or even sqrt, length > sqrt or even dot, smoothstep > max or min) and helping the compiler by using scalar ops and changing the evaluation order. Before I left a new shader was nearly done (~50% less instructions), only some minor details were missing. Probably just a few minutes work to get the settings right.shaderEffectsLevel in BGS-M.js needs also to be changed .-)A simple replace to the new detailLevel is not enough so I do not do this atm.Svengali wrote:shaderEffectsLevelin BGS-M.js needs also to be changed
I have the stutter when arriving at the new system, too. So whatever is being done on this end would be very welcome!Svengali wrote:Thanks Cody and Day.
If it's just one moment its most likely Oolite setting up the new system. The shader is expensive and usingdiscardmay be another factor (there's no other way though).
Other options would be to change expensive code parts (atan2>atanor evensqrt,length>sqrtor evendot,smoothstep>maxormin) and helping the compiler by using scalar ops and changing the evaluation order. Before I left a new shader was nearly done (~50% less instructions), only some minor details were missing. Probably just a few minutes work to get the settings right.
@Norby, spara: If you are at itshaderEffectsLevelin BGS-M.js needs also to be changed .-)
Yum, seems quite fun coding :-pSvengali wrote:Thanks Cody and Day.
If it's just one moment its most likely Oolite setting up the new system. The shader is expensive and usingdiscardmay be another factor (there's no other way though).
Other options would be to change expensive code parts (atan2>atanor evensqrt,length>sqrtor evendot,smoothstep>maxormin) and helping the compiler by using scalar ops and changing the evaluation order. Before I left a new shader was nearly done (~50% less instructions), only some minor details were missing. Probably just a few minutes work to get the settings right.
Perhaps you're just shy around pirates you haven't met yet?Zireael wrote:I have the stutter when arriving at the new system, too.
OO_REDUCED_COMPLEXITY still available in v1.80+? Or any other attibute to allow control about it?Rolling on the floor laughing...Layne wrote:Perhaps you're just shy around pirates you haven't met yet?Zireael wrote:I have the stutter when arriving at the new system, too.
.oxz version of BGS and check that. Done - same result. Have I done something wrong?I guess my driver isn't picky enough about NaN and silently 'optimizes'Cody wrote:In my slightly older version, they produce strange results.