from2001 / VRM_VisualScriptingNodes

Unity Visual Scripting node library for VRM
MIT License
4 stars 2 forks source link

Apply PolySpatial Grounding Shadow (Vision OS) #43

Open from2001 opened 5 months ago

from2001 commented 5 months ago

PolySpatial Grounding Shadow | PolySpatial visionOS https://docs.unity3d.com/Packages/com.unity.polyspatial.visionos@0.7/manual/GroundingShadow.html

from2001 commented 5 months ago

It seems only URP/Lit is supported for now

The shadows cast by PolySpatialGroundingShadow/GroundingShadowComponent only affect objects with Lit shaders (either shader graphs or built-in shaders like URP/Lit). We plan to add shadow support to the PolySpatial Lighting Node at some point, which would give you more options for shadows in Unlit shaders. https://discussions.unity.com/t/polyspatialgroundingshadow-not-casting-shadows-on-meshes/316965/3

from2001 commented 5 months ago

PolySpatialGroundingShadow worked with a object with Mesh renderer, but doesn’t work with Skinned mesh renderer. Would it be possible to make it compatible with Skinned mesh renderer in the next version at Unity side based on the architecture?

Casting shadow makes contents great, so I’d like to use the feature as much as I can.

https://discussions.unity.com/t/polyspatialgroundingshadow-not-casting-shadows-on-meshes/316965/6

from2001 commented 2 months ago

Define scripting symbols based on Unity package existence.

https://docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html#define-symbols