Options
All
  • Public
  • Public/Protected
  • All
Menu

Smudge

Experimental library for creating procedurally generated texture sets that can be used in a physically based rendering pipeline. Inspired by p5, Substance Designer, and Unity.

Scripts

npm run smudge Builds and serves the main project on [http://localhost:8080/]

npm run blog Builds and runs the project blog on [http://127.0.0.1:4000/pbr5/]

Files

package-lock.json

https://docs.npmjs.com/files/package-lock.json

Index

Type aliases

ColorDescription

ColorDescription: Gray | GrayA | RGB | RGBA

Gray

Gray: number | [number]

GrayA

GrayA: [number, number]

RGB

RGB: [number, number, number]

RGBA

RGBA: [number, number, number, number]

Object literals

BlendMode

BlendMode: object

Additive

Additive: object = <IReadonlyBlendMode>{equation: gl_constants.FUNC_ADD,sFactor: gl_constants.SRC_ALPHA,dFactor: gl_constants.ONE,}

Type declaration

Blend

Blend: object = <IReadonlyBlendMode>{equation: gl_constants.FUNC_ADD,sFactor: gl_constants.SRC_ALPHA,dFactor: gl_constants.ONE_MINUS_SRC_ALPHA,}

Type declaration

Multiply

Multiply: object = <IReadonlyBlendMode>{equation: gl_constants.FUNC_ADD,sFactor: gl_constants.DST_COLOR,dFactor: gl_constants.ZERO,}

Type declaration

Replace

Replace: object = <IReadonlyBlendMode>{equation: gl_constants.FUNC_ADD,sFactor: gl_constants.ONE,dFactor: gl_constants.ZERO,}

Type declaration

Subtractive

Subtractive: object = <IReadonlyBlendMode>{equation: gl_constants.FUNC_REVERSE_SUBTRACT,sFactor: gl_constants.SRC_ALPHA,dFactor: gl_constants.ONE,}

Type declaration

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc