Drawing - Construction Script
VR Project Blog » Devlog
So first we need to modify the construction script of the actor and firstly we want to create a render target 2d and set it to be a variable called render target which we will use later to draw.
Next we want to get the material of the plane and pass into parent of dynamic material instance and then get the return value and set it to texture parameter value. Lastly we set the material from the dynamic material instance which will overwrite the material we set in the plane which allows us to edit it.
Lastly we create one more dynamic material instance which will be used to draw on the surface.
VR Project Blog
Status | In development |
Category | Other |
Author | Razorsx |
Tags | Virtual Reality (VR) |
More posts
- Wrist Menu - ButtonsJan 19, 2023
- Wrist Menu - Attaching to HandJan 19, 2023
- Wrist Menu - DesignJan 18, 2023
- Drawing - Modifying PawnJan 18, 2023
- Drawing - Draw FunctionJan 18, 2023
- Drawing SurfacesJan 18, 2023
- Ladder Mechanic - Modifying MotionControllerPawnJan 18, 2023
- Ladder Mechanic - Modifying VR HandsJan 18, 2023
- Ladder Mechanic - Modifying Pickup CubeJan 18, 2023
Leave a comment
Log in with itch.io to leave a comment.