Skip to content

Custom shapes for shading ? #1964

Answered by lgritz
nyue asked this question in Q&A
Apr 3, 2025 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

I'm afraid I'm the one who was responsible for adding "DSO shadeops" to RSL. It seemed like a good idea at the time because it solved 2 problems:

  1. All of the important renderer implementations were closed source, so if you wished for an RSL function that didn't exist and couldn't be implemented in RSL itself (like reading from a file other than a texture, or communicating over a socket), you were out of luck. DSO shadeops were a back door that effectively let you do that.
  2. Because DSO shadeops were implemented in C/C++, they could do some things very fast that would have been slow in the interpreted execution of the RSL shaders.

But they came with some big down-sides, too, as a consequenc…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nyue
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by nyue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants