Drawing - Construction Script


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.


Leave a comment

Log in with itch.io to leave a comment.