Skip to content

Instantly share code, notes, and snippets.

@phi-lira
Last active May 19, 2020 05:42
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save phi-lira/987857a10f0a141a82843827a6bd6865 to your computer and use it in GitHub Desktop.
Save phi-lira/987857a10f0a141a82843827a6bd6865 to your computer and use it in GitHub Desktop.
Physically Based Example shader that works with Lightweight Render Pipeline (LWRP) 4.X.X-preview
Use https://gist.github.com/phi-lira/225cd7c5e8545be602dca4eb5ed111ba instead.
@EIZENHORN91
Copy link

Hey just FYI - line 300 "lightmapUV" must be renamed to uvLM (as in Varyings) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment