Page 1 of 1

Starfield and Depthtest?

Posted: Fri Jun 08, 2018 4:50 pm
by steffey
I cannot get two starfields to work with DepthTest, can it?
I tried a bunch of stuff but the starfield on top is still just overlayed on the second one.
I'd like them to respect each other's space... :)
Is that possible or no?
Thanks!

Re: Starfield and Depthtest?

Posted: Fri Jun 08, 2018 5:33 pm
by Magic
No, Starfield doesn't work with DepthTest.

Basically there's a tradeoff between depth testing and transparency. You can't have both unless you do some really fancy stuff. Starfield needs transparency.

Re: Starfield and Depthtest?

Posted: Fri Jun 08, 2018 6:08 pm
by steffey
I see. I love the new starfield, Btw.
Also,
Seeing as starfield does take multiple inputs, but they are both contained in the same 'star',
Would it be possible to modify the starfield module to give multiple inputs their own stars within the field?
If so, it would be good to have as a selectable function somehow.

So as two inputs would show up as on the preview screen on the right...
Capt333ure.JPG
Capt333ure.JPG (81.14 KiB) Viewed 3572 times

Re: Starfield and Depthtest?

Posted: Fri Jun 08, 2018 6:15 pm
by Magic
Sure, that might work, I will add it to my list.

Re: Starfield and Depthtest?

Posted: Fri Jun 08, 2018 6:36 pm
by steffey
I'm going to suggest what I assume is impossible,
Could it have respective multiple outputs for each input? (I don' think I have seen a module work that way)

Is there any way to modify the separate inputs once IN the field to get around not being able to depthtest with multiple starfields?
ie: 2 outputs to 2 axis modules.

Also, it would be cool to have X and Y selection checkboxes next to the SPREAD function,
Or better yet two fields X Spread Y Spread with a checkbox to link XY?
(Just ideas I know yer a busy fellow)

Re: Starfield and Depthtest?

Posted: Sat Jun 09, 2018 5:15 pm
by Magic
No, a module can't have two outputs. ;)
Or better yet two fields X Spread Y Spread with a checkbox to link XY?
Yes that's certainly possible, I'll add it to my list.