Title: More modularity in the Uber shader · Issue #203 · microsoft/MixedReality-GraphicsTools-Unity · GitHub
Open Graph Title: More modularity in the Uber shader · Issue #203 · microsoft/MixedReality-GraphicsTools-Unity
X Title: More modularity in the Uber shader · Issue #203 · microsoft/MixedReality-GraphicsTools-Unity
Description: Describe the problem I'm trying to implement a custom shader (adds elevation contour lines) that also leverages the clipping primitive, and it seems harder than it should be. The Uber shader is a monolith of code. Describe the solution y...
Open Graph Description: Describe the problem I'm trying to implement a custom shader (adds elevation contour lines) that also leverages the clipping primitive, and it seems harder than it should be. The Uber shader is a m...
X Description: Describe the problem I'm trying to implement a custom shader (adds elevation contour lines) that also leverages the clipping primitive, and it seems harder than it should be. The Uber shader is...
Opengraph URL: https://github.com/microsoft/MixedReality-GraphicsTools-Unity/issues/203
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"More modularity in the Uber shader","articleBody":"## Describe the problem\r\n\r\nI'm trying to implement a custom shader (adds elevation contour lines) that also leverages the clipping primitive, and it seems harder than it should be. The Uber shader is a monolith of code.\r\n\r\n## Describe the solution you'd like\r\n\r\nConsider breaking up the hlsl into modules. Perhaps even modules could be leveraged by custom functions in shader graph. (That use `out` parameters.)\r\n\r\nI should be able to include a module or subgraph that will make my shader clip the same way as the Uber shader (for example). \r\n\r\n## Describe alternatives you've considered\r\n\r\nBetter support for shader graph in general. Either subgraphs and custom functions or both. #34\r\n\r\n## Additional context\r\n\r\nCaveat is I am rather new to hlsl and unfamiliar with best practices. If performance suffers from breaking out the code, I'd be curious to know exactly how much.","author":{"url":"https://github.com/jayliu50","@type":"Person","name":"jayliu50"},"datePublished":"2024-01-13T12:55:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/203/MixedReality-GraphicsTools-Unity/issues/203"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:07080a47-7e7b-69d8-a81b-9f714da97fa2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EAD8:2E1F49:A52D8FF:DE835EE:6A5EAD9E |
| html-safe-nonce | 57c1bdd755eb73aa57251a5c2c5d5abfca017a40bdb1353de010bdf8f7bf2f90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUQ4OjJFMUY0OTpBNTJEOEZGOkRFODM1RUU6NkE1RUFEOUUiLCJ2aXNpdG9yX2lkIjoiNTI5ODQxNTM1NDg1MTAxMTk5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 67870c27326b7404b9877adabbf1dcaca4d84c80366da104ee0225b8edbf5474 |
| hovercard-subject-tag | issue:2080285044 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/MixedReality-GraphicsTools-Unity/203/issue_layout |
| twitter:image | https://opengraph.githubassets.com/807df3ba4baad8ab9b4ec6f62ad83f1bf8ca83f4b04ad239da8bcfb0911cd28f/microsoft/MixedReality-GraphicsTools-Unity/issues/203 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/807df3ba4baad8ab9b4ec6f62ad83f1bf8ca83f4b04ad239da8bcfb0911cd28f/microsoft/MixedReality-GraphicsTools-Unity/issues/203 |
| og:image:alt | Describe the problem I'm trying to implement a custom shader (adds elevation contour lines) that also leverages the clipping primitive, and it seems harder than it should be. The Uber shader is a m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jayliu50 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7129250e6854dcc7bfa46fc877bb154b96762b31e3fa82fdf0697c71f08bb32c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/MixedReality-GraphicsTools-Unity git https://github.com/microsoft/MixedReality-GraphicsTools-Unity.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 406516024 |
| octolytics-dimension-repository_nwo | microsoft/MixedReality-GraphicsTools-Unity |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 406516024 |
| octolytics-dimension-repository_network_root_nwo | microsoft/MixedReality-GraphicsTools-Unity |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3084c198d559e243975a7a7f61d0b80bcea2a724 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width