mirror of
https://github.com/AcChosen/VR-Stage-Lighting.git
synced 2025-02-25 21:58:09 +01:00
Updated VRSL DMX: Creating Custom DMX Shaders (markdown)
parent
83f21b1533
commit
51060d1d39
@ -3,6 +3,8 @@
|
||||
|
||||
VRSL DMX is intended to be used more like a data protocol rather than a discrete set of shaders and tools. As such, any shader property can be controlled by DMX, whether it's lighting, vertex transforms, screen space, etc. If it's a shader property, it can be controlled by VRSL. This page discusses what you need to add to your custom shaders to enable VRSL DMX functionality.
|
||||
|
||||
[Here](https://www.youtube.com/watch?v=ngh_fxzdYzk) is the video tutorial version of this page.
|
||||
|
||||
VRSL DMX works similarly to audiolink in that there is a single CGINC file that you need to include to start creating DMX-compatible world shaders. The file is called `VRSLDMX.cginc` and you can use it with this strip of code:
|
||||
|
||||
`#include "Packages/com.acchosen.vr-stage-lighting/Runtime/Shaders/VRSLDMX.cginc"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user