Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

628 B
Raw Blame
{
  "name": "GraphTint",
  "output": "out",
  "nodes": [
    {
      "id": "tex",
      "type": "textureSample",
      "params": {
        "name": "u_albedo",
        "default": "white"
      }
    },
    {
      "id": "tint",
      "type": "constColor",
      "params": {
        "name": "u_tint",
        "value": [
          1,
          1,
          1,
          1
        ]
      }
    },
    {
      "id": "mul",
      "type": "multiply",
      "inputs": {
        "a": "tex",
        "b": "tint"
      }
    },
    {
      "id": "out",
      "type": "output",
      "inputs": {
        "color": "mul"
      }
    }
  ]
}