SVG Texture resource

Godot Version 4.5. Linux Fedora Workstation 42
I want to create an SVGTexture resource. https://www.reddit.com/r/godot/comments/1kcf7ik/svgtexture_from_godot_45_dev_3/

There’s no such option in the resource selection. Why?
https://docs.godotengine.org/ - there is no manual about this.

The name was changed from 4.5 beta to 4.5 release. It is now DPITexture.

2 Likes

Thank you!

1 Like

But it’s still unclear how to use it. I created a sprite and selected the DPITexture. But how do I insert the SVG file?

1 Like
  1. Drag the .svg file into your FileSystem dock.
  2. Click on the Import tab.
  3. Select the Import As drop-down that reads Texture2D.
  4. Select DPITexture from the dropdown.
  5. Press the Reimport button.
  6. Press the Ok button on the warning.
  7. Use it as normal anywhere you want.
2 Likes

Thank you very much for your training

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.