Je voudrais savoir s’il est possible de rendre un objet visuellement invisible mais qu’on puisse y voir les ombres.
Je n’y arrive pas avec les Shaders et non plus avec le blueprint.
Haven’t tested this but maybe you could use static lightning to create the shadow, build the lightning and then on begin play or whatever set the mesh hidden through code or blueprint. The shadow should not disappear. Of course, this would not work with a moving shadow.
I can’t make either solution work with raytracing in UE 5.0.2 (hidden shadows or shadow pass switch)
If I desactivate “cast ray traced shadows” from my light details both solution are working fine
I found this bug ticket UE-90632 Unreal Engine Issues and Bug Tracker (UE-90632) it does not seem fixed to me, I can reproduce it in a blank scene by switching cast ray traced shadows on and off on the main direct light