Skip to content

Add rasterize mesh texture demo #1194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

beicause
Copy link

@beicause beicause commented Apr 16, 2025

Add rasterize mesh texture demo.

Due to there is no way to automatically release RIDs when custom resource is released, I did some tricks on Sprite2D to make it able to run with @tool in editor. This demo works in 4.5, but spams some errors and use TextMesh within it doesn't work in 4.4. Resolved.

Closes #1192.

@beicause beicause force-pushed the rasterize-mesh-texture branch 4 times, most recently from 5403476 to b13af36 Compare April 16, 2025 18:26
@beicause

This comment was marked as resolved.

@beicause beicause force-pushed the rasterize-mesh-texture branch 2 times, most recently from 005fd75 to 9fb1896 Compare April 18, 2025 11:14
@beicause beicause force-pushed the rasterize-mesh-texture branch 3 times, most recently from d66e5c8 to 4f66c12 Compare April 27, 2025 10:55
@beicause
Copy link
Author

beicause commented Apr 27, 2025

I ended up refactoring and deleting all the getters/setters for RIDs so that NOTIFICATION_PREDELETE could work, and resolved the weird issue mentioned above. Also added a test for 2D mesh.

@beicause beicause force-pushed the rasterize-mesh-texture branch from 4f66c12 to 839216e Compare April 27, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a new RenderingDevice rendering pipeline demo
3 participants