Resonite-Issues icon indicating copy to clipboard operation
Resonite-Issues copied to clipboard

PHOTONDUST unable to be seen by cameras with selective rendering

Open Redd56 opened this issue 11 months ago • 7 comments

Describe the bug?

when trying to use photon dust with a selective rendering camera it came to my attention that they dont get rendered.

To Reproduce

create a new photon dust system. and a new camera with a render texture provider, set the root of the photon dust particle system as the selective render slot. witness it now no longer exist according to the camera

Expected behavior

particles to be visible and rendered if the photon dust emitter or system is selected in the selective mode of cameras

Screenshots

No response

Resonite Version Number

Beta 2024.12.26.1378

What Platforms does this occur on?

Windows

What headset if any do you use?

n/a

Log Files

DESKTOP-N0VAL1H - 2024.12.26.1378 - 2024-12-27 03_08_20.log Player-prev.log

Additional Context

found this out while trying to make a low resolution dynamic skybox. was gonna use the new photon dust particles for the stars since i can just remove whats not needed and add what i want

Reporters

Redd56/redd (me)

Redd56 avatar Dec 27 '24 11:12 Redd56

I was able to replicate the issue

epicEaston197 avatar Dec 29 '24 00:12 epicEaston197

it seems that setting the particle system to parent space fixes the issue but its still an inconsistancy between the legacy system and photon dust

Redd56 avatar Dec 29 '24 03:12 Redd56

I've been looking into this one. It's another of the tricky ones, because we rely on the current Unity integration to replicate the hierarchy for rendering and then mark it properly with flags for selective rendering.

Because PhotonDust actually puts the renderer in the hierarchy where the target space is (only locally), it makes it not work based on this.

When the Unity integration itself gets rewritten, it won't be replicating hierarchy anymore and we'll do the selective rendering fully on FrooxEngine side to build a list of objects. This will allow for fixing this much more simply.

Given this, I'm probably going to put this on a back-burner until that gets done (since that's one of the last steps of the Performance update) - question is how many things are affected right now with this not working properly? Is there anything critical enough that would be affected?

Frooxius avatar Jan 09 '25 04:01 Frooxius

so far im not aware of any items except a few audio visualizers. but given setting to parent space can be a work arround and most objects im aware of arent grabable id say backburner is fine

Redd56 avatar Jan 09 '25 05:01 Redd56

I see- thanks for the update, @Redd56. I'd also agree it'd make sense for us to defer this issue for now, then.

LexiBasilisk avatar Jan 09 '25 20:01 LexiBasilisk

I have a facet that spawns particles and it used to spawn the particles "in 2d" but now it's "in 3d"

it was a cool effect

art0007i avatar May 25 '25 15:05 art0007i

I'm commenting here because I have a similar issue.(#4452) We have confirmed that particles are not displayed by the rendering camera in the game used in a world previously published on mmc.

We have also confirmed that when we tried to display the same thing in something we are currently creating, it is not displayed.

I plan to continue using rendering cameras in game production, so I hope this issue will be resolved.

We are sharing the tools, so please check them out. resrec:///U-GONT-3/R-2370e236-1ff1-4c93-b61b-d79c9574d984

The same phenomenon can be seen in games in this world. Particles do not appear on the screen displayed on the game machine. https://go.resonite.com/record/U-GONT-3/R-ae8f6e4b-3d28-4cd2-8711-1533411eb144

Resonite Version Number 2025.5.23.1096

gont3 avatar May 26 '25 13:05 gont3