postprocessing/effect_shaders

  Source   Edit

Procs

proc newEffectShader(engine: MyouEngine; texture_names: seq[string];
                     texture_types: seq[TextureType] = @[]; library = "";
                     code = ""; output_names = @["outColor"];
                     mat_name = "effect_shader";
                     defines = initTable[string, string]();
                     add_input_size_ubo = true): Material {.
    ...raises: [ValueError, Exception], tags: [RootEffect].}
  Source   Edit