Title: StableFluid error on Unity2019. · Issue #4 · IndieVisualLab/UnityGraphicsProgramming · GitHub
Open Graph Title: StableFluid error on Unity2019. · Issue #4 · IndieVisualLab/UnityGraphicsProgramming
X Title: StableFluid error on Unity2019. · Issue #4 · IndieVisualLab/UnityGraphicsProgramming
Description: For the StableFluid - Solver2D.cs, you didn't assign texture for the Project-Step2 kernel and it causes an error on Unity 2019 version. It is fine on Unity2017 but can be an issue on Unity2019. I would suggest you add below code at line ...
Open Graph Description: For the StableFluid - Solver2D.cs, you didn't assign texture for the Project-Step2 kernel and it causes an error on Unity 2019 version. It is fine on Unity2017 but can be an issue on Unity2019. I w...
X Description: For the StableFluid - Solver2D.cs, you didn't assign texture for the Project-Step2 kernel and it causes an error on Unity 2019 version. It is fine on Unity2017 but can be an issue on Unity2019....
Opengraph URL: https://github.com/IndieVisualLab/UnityGraphicsProgramming/issues/4
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"StableFluid error on Unity2019.","articleBody":"For the StableFluid - Solver2D.cs, you didn't assign texture for the Project-Step2 kernel and it causes an error on Unity 2019 version. It is fine on Unity2017 but can be an issue on Unity2019.\r\n\r\nI would suggest you add below code at line 93 and 117.\r\n`computeShader.SetTexture(kernelMap[ComputeKernels.ProjectStep2], velocityId, velocityTex);`\r\n\r\nAnd also on the Solver2D.compute, on 'AdvectVelocity' kernel function,\r\nat line 234, you used GetDimensions(w,h) using **_density_** texturebuffer which requires SetTexture(density),\r\nin this context, using **_velocity_** texturebuffer is better way to solve the error.\r\n(x)\r\n`density.GetDimensions(w, h);` \r\n(o)\r\n`velocity.GetDimensions(w, h);`\r\n\r\nThank you for the awesome code!\r\n","author":{"url":"https://github.com/wonkee-kim","@type":"Person","name":"wonkee-kim"},"datePublished":"2019-10-16T22:35:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/4/UnityGraphicsProgramming/issues/4"}
| 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:d6b652c5-d849-764f-ee34-bf4accd2621e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E51E:22E260:A11ED5:DCBFA9:696FEEED |
| html-safe-nonce | 38f684455831ea8ff95e8360c07cf661a56fc391e30434ab5abdc86a64b57447 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTFFOjIyRTI2MDpBMTFFRDU6RENCRkE5OjY5NkZFRUVEIiwidmlzaXRvcl9pZCI6IjE5NDc0MzY4ODgwNDQyOTU0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2728fcb5a1448660fd8cc6c91940853088971968b2cc5af90f1407f31fc91ee8 |
| hovercard-subject-tag | issue:508134791 |
| 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/IndieVisualLab/UnityGraphicsProgramming/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4430579b4fbf3862101a8c5c4a2df535dea2bbc9ce52d49efadc74e0325b173a/IndieVisualLab/UnityGraphicsProgramming/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4430579b4fbf3862101a8c5c4a2df535dea2bbc9ce52d49efadc74e0325b173a/IndieVisualLab/UnityGraphicsProgramming/issues/4 |
| og:image:alt | For the StableFluid - Solver2D.cs, you didn't assign texture for the Project-Step2 kernel and it causes an error on Unity 2019 version. It is fine on Unity2017 but can be an issue on Unity2019. I w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wonkee-kim |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b218dbdee134592a2dbfabd454a1070986f1fbedb8334bf06b8f2ccc3449130 |
| turbo-cache-control | no-preview |
| go-import | github.com/IndieVisualLab/UnityGraphicsProgramming git https://github.com/IndieVisualLab/UnityGraphicsProgramming.git |
| octolytics-dimension-user_id | 30280585 |
| octolytics-dimension-user_login | IndieVisualLab |
| octolytics-dimension-repository_id | 104029894 |
| octolytics-dimension-repository_nwo | IndieVisualLab/UnityGraphicsProgramming |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 104029894 |
| octolytics-dimension-repository_network_root_nwo | IndieVisualLab/UnityGraphicsProgramming |
| 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 | bcaac379a58a3ed99a1b0502e2a8f5cfd3a7b54b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width