![]() I just wanted to express my thanks for this. I'll share it fer posterity.įor example, let's take this bit of code. Fairly simple, once you get your head around the whole lerp business. On a different note lads, I figured out how you add interior and night-day controls. Do the same for the GUI variables, and voila. A bit of smart commenting goes a long way for organization just add "//begin SomeEffect" at the beginning of a particular bit of shader code, then add "//end SomeEffect" at the end of it. Suit yerself, but I'm sticking to me ol' Monolithic shaders. And when that is done import the codes into the main file. However with the way I have it now, it will make it easier to just enable two code lines for effect activation, to see which effects will be the ones to make the cut. I'm not saying you personally should stick to that default layout, it was never intended to be used as is, but to be merged. Still having it all in one file is overwhelmingly much, especially for a new users. JawZ- wrote:It's fetched from the "main" file any of the.
0 Comments
Leave a Reply. |