-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Viktor Pramberg edited this page Aug 13, 2021
·
4 revisions
Make sure you have followed the installation instructions first
- Right click in the Content Browser, and look for the
DeviceRGBsubmenu - Click on the
DeviceRGB Material- This creates a new normal material, but with the correct properties to be used with DeviceRGB
- Rename it with a good name, and then it's ready for use with DeviceRGB; just use it like a normal post process material!
Since DeviceRGB is active in the editor even when not playing, it's very easy to get going. All you need to do is call one function. In this case, we will do it in the Level Blueprint, but you can do it anywhere!
- Open the Level Blueprint by going to Blueprints -> Open Level Blueprint
- Create an
Event BeginPlaynode, if it's not already there - Search for
DeviceRGB- The top result should be what you want-
Get DeviceRGB Subsystem - Note that the DeviceRGB subsystem is your go to for all things related to this plugin
- The top result should be what you want-
- Now use that node to search for
Set Material - Connect the execute pin from BeginPlay, and set your previously created material as the material input, and you should be all set!
- Press play, and you should see the result from your material on your device(s)
A DeviceRGB material is just a normal material with two properties changed:
-
Material Domain- which should be set toPost Process -
Output Alpha- which should be set to true