Shadertoy Custom Texures

Allows custom 2D textures, music and videos to temporarily be used in Shadertoy

什麼是Shadertoy Custom Texures?

Shadertoy Custom Texures是由ahills開發的Chrome擴展程式,該擴展的主要功能是“Allows custom 2D textures, music and videos to temporarily be used in Shadertoy”。

擴展截圖

screenshot

下載Shadertoy Custom Texures擴展crx文件

下載Shadertoy Custom Texures擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        To load an image/audio/video file, drag and drop it either from your computer or a text/web link onto one of the texture preview slots.

Note that:
1. for textures it only works for 2D types
2. loading images from the web maybe blocked due to cross-origin HTTP requests not being allowed on their servers
3.for text/web links, only ones starting with https will work due to mixed content restrictions

Version 1.4
* removed unnecessary tab permissions

Version 1.3:
* added support for audio and videos files

Version 1.2:
* custom loaded textures now use the same ID as one from shadertoy.com, so you can save projects without issue
* the "changes you made may not be saved" popup will now not be triggered when loading a custom texture over an existing texture

Version 1.1:
* the texture filter and wrap settings are now read from the correct place                    

擴展基本資訊

名稱 Shadertoy Custom Texures Shadertoy Custom Texures
ID jgeibpcndpjboeebilehgbpkopkgkjda
官方網址 https://chromewebstore.google.com/detail/shadertoy-custom-texures/jgeibpcndpjboeebilehgbpkopkgkjda
簡介 Allows custom 2D textures, music and videos to temporarily be used in Shadertoy
檔案大小 4.38 KB
安裝次數 2,273
目前版本 1.4
更新時間 2023-05-12
上架時間 2018-11-19
評分 4.54/5 共 13 次評分
開發者 ahills
電子郵箱 [email protected]
付費類型 free
支援的語言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 3,
    "version": "1.4",
    "name": "Shadertoy Custom Texures",
    "description": "Allows custom 2D textures, music and videos to temporarily be used in Shadertoy",
    "host_permissions": [
        "*:\/\/*.shadertoy.com\/*"
    ],
    "content_scripts": [
        {
            "matches": [
                "*:\/\/*.shadertoy.com\/view\/*",
                "*:\/\/*.shadertoy.com\/new"
            ],
            "run_at": "document_end",
            "js": [
                "inject.js"
            ]
        }
    ],
    "web_accessible_resources": [
        {
            "resources": [
                "myscript.js"
            ],
            "matches": [
                ""
            ]
        }
    ]
}