Using vector images (SVG files) for texture rendering (or possible alternatives) #418
JoeAnonymous
started this conversation in
Feedback & Feature Requests
Replies: 1 comment 3 replies
-
That would require auto-generating a shader function that can compute that specific SVG file result given a UV coordinate, and then run that function for each pixel that wants to "read" the texture. So it's not impossible, but it would be a huge amount of work to implement and the resulting performance would be far from great. Here's a web that can generate a shadertoy from an SVG file (paths only) if you want to give it a try: Depending on your specific use case there may be better alternatives, but converting them to raster textures is the only "generic" solution. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there any plan to allow people to use SVG or other vector formats to render textures to 3D models? I do not wish to have to manually convert them into raster images.
I can only think of a solution that relies on the object knowing the distance changes from it and the camera, and updating a buffer image that holds a raster texture, but I do not think that would be possible.
Beta Was this translation helpful? Give feedback.
All reactions