Skip to content

getShadowMask equivalent in TSL  #30220

@Samsy

Description

@Samsy

Description

Hey there !

Ocean Water from legacy to TSL,

The Ocean TSL examples does not support shadow-mapping as in the legacy one :

https://github.com/mrdoob/three.js/blob/master/examples/jsm/objects/Water.js#L181C71-L181C84

I was looking for an equivalent of getShadowMask, to be used inside a fragmentNode, checked on the examples and the wiki but had no chance :

float shadowMask = getShadowMask();

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions