Hello! I wonder if it is possible to make GUI render before Workspace, so that I can clip my ViewportFrame using 0-alpha meshes.
You can position a part with a SurfaceGUI
behind the Workspace and add a ViewportFrame
to it.
Here’s an example rbxm file: Viewport_Behind_Workspace1.rbxm (12.9 KB)
Just put it under StarterGUI
and it should work.
You can position it at really any distance from camera you want but Atmosphere
and fog affects it.
Thank you so much! Sadly, this doesn’t work for me, the EffectPlane is not being parented to the Workspace for some reason I disabled all other scripts but it still just disappears
UPD: I got it to work It seems that you made distance too large.
Thank you for your solution. This is not exactly what I wanted, because it turns out that something like what I want is not possible. Therefore, I mark this as solved
Ohh yea it’s caused by model Streaming
. Just gotta group the plane and set its ModelStreamingMode
as Persistent
.
Here’s the updated file: Viewport_Behind_Workspace2.rbxm (13.6 KB)
What effect are you trying to achieve if you don’t mind me asking?
I wanted to insert a 0-alpha mesh part into Workspace and clip ViewportFrame using it. But I think that it’s better to just use CanvasGroups for this purpose.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.