Skip to content

Light filters/blockers #34

@boberfly

Description

@boberfly

A prerequisite patch would be an easy way to define shapes via signed distance fields in a shader:
https://developer.blender.org/D6464 (it is WIP but this could be due to Blender integration, Cycles part of the code could be solid already).

I did a test by using the Geometry shader to output position into a light shader to attempt to access world-space position data in that context however this doesn't access the scene geometry data unfortunately, so I think this might need to be achieved in some other manner. Perhaps a dedicated way to specify light filters would be the preferred development moving forward (I'm leaning on your expertise @skwerner what you think is the best approach).

Once there is proper access to position data, using the SDF node to define blocker/filter/gobo shapes as well as plugging in other shader types like textures, we can apply light filters at a per-light basis to multiply against and link them in via USD schema:
https://rmanwiki.pixar.com/display/REN23/Light+Filters

Cheers

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions