Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/developer-reference/shaders/maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Map shaders inherit two protected function pointer members (`mSampleFunc` and `m
`sample()` by convention.

### The moonray::shading::State
The shading [State](https://github.com/dreamworksanimation/moonray/blob/main/lib/rendering/bvh/shading/State.h) provides the sample function with geometric data at the shading point.
The shading [State](https://github.com/dreamworksanimation/moonray/blob/main/lib/rendering/shading/State.h) provides the sample function with geometric data at the shading point.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, now that we moved to ASWF this should be github.com/OpenMoonRay/... instead of github.com/dreamworksanimation/...

It might be worth grepping the entire repo and search/replacing.


### Related ISPC macros
The vectorized sample function (SampleFuncv) implementation is routinely followed by a call to the `DEFINE_MAP_SHADER` macro which is defined in [ShaderMacros.isph](https://github.com/dreamworksanimation/moonray/blob/main/lib/rendering/shading/ispc/ShaderMacros.isph)
Expand Down