Hello,
I am trying to render the view from another Actor into a ScriptedTexture, which I can then draw onto my HUD. I've tried to use DrawPortal on a ScriptedTexture, but I always end up with nothing (just blackness). Has anyone ever got DrawPortal to work on a texture? DrawText works fine, so I'm confident that the ScriptedTexture itself is OK.
I can almost achieve the effect I want using DrawPortal directly on my HUD's Canvas, but DrawPortal does not provide the ability to clip or warp the resulting view in the same way as DrawTile and DrawTileClipped do for materials. I want to be able to clip and stretch the portal view in strange ways...
Any pointers to a mod or code that already does this would be fantastic.
Thanks in advance,
mrbo.
I am trying to render the view from another Actor into a ScriptedTexture, which I can then draw onto my HUD. I've tried to use DrawPortal on a ScriptedTexture, but I always end up with nothing (just blackness). Has anyone ever got DrawPortal to work on a texture? DrawText works fine, so I'm confident that the ScriptedTexture itself is OK.
I can almost achieve the effect I want using DrawPortal directly on my HUD's Canvas, but DrawPortal does not provide the ability to clip or warp the resulting view in the same way as DrawTile and DrawTileClipped do for materials. I want to be able to clip and stretch the portal view in strange ways...
Any pointers to a mod or code that already does this would be fantastic.
Thanks in advance,
mrbo.
Comment