mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-20 12:33:14 +00:00
Shader Fix Hack (#625)
This commit is contained in:
parent
95ae81eef1
commit
51288148ee
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ signal done
|
|||
|
||||
func generate_image(img: Image, shader: Shader, params: Dictionary, size: Vector2) -> void:
|
||||
img.unlock()
|
||||
shader.code = shader.code.replace("unshaded", "unshaded, blend_premul_alpha")
|
||||
var vp := VisualServer.viewport_create()
|
||||
var canvas := VisualServer.canvas_create()
|
||||
VisualServer.viewport_attach_canvas(vp, canvas)
|
||||
|
|
Loading…
Add table
Reference in a new issue