Page 18 of 18

Re: --JawZ-- ENB resources, updated 15 september-14

Posted: 25 Jul 2016, 16:46
by mindflux
There is, you could try to refactor the code to use ordinary if statements. First technique should obviously run every time.

Re: --JawZ-- ENB resources, updated 15 september-14

Posted: 25 Jul 2016, 19:47
by tapioks
@Mindflux

Hmmm ... alas, I wouldn't know where to begin. It's ok though, I really just wanted this as a convenience feature, but I can configure this variable the old fashioned way (i.e. changing the .ini value and restarting the game).

Re: --JawZ-- ENB resources, updated 15 september-14

Posted: 25 Jul 2016, 20:10
by mindflux
Actually, like usually I was talking out of my ass since I forgot if...else statements can only be used inside functions.

Why do you need to change the number of passes dynamically?

Re: --JawZ-- ENB resources, updated 15 september-14

Posted: 25 Jul 2016, 20:49
by tapioks
mindflux wrote:Actually, like usually I was talking out of my ass since I forgot if...else statements can only be used inside functions.

Why do you need to change the number of passes dynamically?
So I can make a nice demo video about the Painted Wasteland shader :P

Re: --JawZ-- ENB resources, updated 15 september-14

Posted: 26 Jul 2016, 07:33
by mindflux
Well, no surprises there :lol:

There's actually one trick that I remember Boris describing some time (probably long...) ago, you need to draw all passes but depending on the quality some of the passes are drawn outside the viewport.

Re: --JawZ-- ENB resources, updated 15 september-14

Posted: 27 Jul 2016, 20:03
by tapioks
Thanks for the additional info ... though I think that kind of tinkering is a bit out of my league :P

I will stick to the 'old fashioned' way for the time being...