Skip to content

Instantly share code, notes, and snippets.

@robksawyer
Created September 25, 2020 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robksawyer/853eaadc7213e15b7121190d6ccb1b22 to your computer and use it in GitHub Desktop.
Save robksawyer/853eaadc7213e15b7121190d6ccb1b22 to your computer and use it in GitHub Desktop.
_this.pass = new NukePass("ExperienceOverlay", {
unique: "exp_overlay",
uOverlay: {
value: 0
},
tNormal: {
value: null,
getTexture: Utils3D.getRepeatTexture
},
uLightStr: {
value: 1
},
uColor: {
value: new Color("#ffffff")
},
uColorMix: {
value: 1
},
uDeform: {
value: 1
},
uvScale: {
value: 1
},
uFrequency: {
value: .8
},
uScale: {
value: .95
},
uSpeed: {
value: .5
},
uNormalScale: {
value: 1.5
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment