Where ALS sucks (or not)
Posted: Thu Dec 15, 2016 9:21 am
Hi,
this morning, I was trying to make interior shadows for ALS. Why ALS do not compute this itself is still a mystery to me (though dev seems to have some reasons to ignore shadows with ALS, it's still a mystery why a GL renderer do not render shadows by himself).
Anyway, cubemaps done, effect.eff done, etc.. ok, let's try ... sucks: some objects display shadows, some others not. Trying many things, but in fact: trouble comes when you use two effects on the same object: only the first effect is rendered, the second one is completely bypassed.
So, you cannot have a shadow effect on your main panel, and a light effect at the same time: you must choose only one !
I really don't want to put my hands in the FG code, 1st I don't have time for this, 2cd I'm not sure to be able to understand all the mess w/o heps, 3rd the team is so ennoying and blablah'ing I don't want to start a "one year" long discussion for 10 lines of code. So, no shadows on my main panel, I prefer to keep my beautiful ligthning effect.
But perhaps there's a tradeoff, perhaps someone here knows how to solve this trouble, or perhaps I misunderstand something ...
Thanks,
this morning, I was trying to make interior shadows for ALS. Why ALS do not compute this itself is still a mystery to me (though dev seems to have some reasons to ignore shadows with ALS, it's still a mystery why a GL renderer do not render shadows by himself).
Anyway, cubemaps done, effect.eff done, etc.. ok, let's try ... sucks: some objects display shadows, some others not. Trying many things, but in fact: trouble comes when you use two effects on the same object: only the first effect is rendered, the second one is completely bypassed.
So, you cannot have a shadow effect on your main panel, and a light effect at the same time: you must choose only one !
I really don't want to put my hands in the FG code, 1st I don't have time for this, 2cd I'm not sure to be able to understand all the mess w/o heps, 3rd the team is so ennoying and blablah'ing I don't want to start a "one year" long discussion for 10 lines of code. So, no shadows on my main panel, I prefer to keep my beautiful ligthning effect.
But perhaps there's a tradeoff, perhaps someone here knows how to solve this trouble, or perhaps I misunderstand something ...
Thanks,