logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ScriptedTexture.DrawPortal (Read 191 times)
Bleeder91[NL]
Betatester
Offline


Personal Text:

Posts: 1018
Location: Location, Location, Location.
Joined: Oct 4th, 2009
Gender: Male
ScriptedTexture.DrawPortal
Feb 3rd, 2020 at 6:59pm
Print Post  
Is there any way to get rid of the HoM effect that DrawPortal does in ScriptedTexture? eg when the portal draws partly out of map.
  
Back to top
 
IP Logged
 
.:..:
Board Moderator
Developer Team
*****
Offline



Posts: 1511
Location: Finland
Joined: Aug 16th, 2005
Gender: Male
Re: ScriptedTexture.DrawPortal
Reply #1 - Feb 4th, 2020 at 1:28pm
Print Post  
What do you mean? Is the portal like inside world geometry? Screenshot?
  

Shivaxi wrote on Jul 25th, 2013 at 12:50pm:
...and now im stuck trying to fix everything you broke for the next 227 release xD Tongue

(ಠ_ಠ)
Back to top
IP Logged
 
Bleeder91[NL]
Betatester
Offline


Personal Text:

Posts: 1018
Location: Location, Location, Location.
Joined: Oct 4th, 2009
Gender: Male
Re: ScriptedTexture.DrawPortal
Reply #2 - Feb 6th, 2020 at 7:38pm
Print Post  
Like this, it's a simple 512x512 box viewed from an angle at the edge of the box (the center is the corner of the box, ignore the black pixels).


Code (C++)
Select All
simulated function RenderTexture(ScriptedTexture Tex)
{
	Tex.DrawPortal(XLevel,Owner.Location*vect(1,1,1)+4096*vect(0,0,1),rot(-16384,0,0)+Owner.Rotation.Yaw*rot(0,1,0),None);
} 



I didn't change anything on the ScriptedTexture's default properties.
The HoM starts when it renders outside of the playable world (subtractive). I can recall it never doing that before (using 227j now, could confirm with i but that'd be over the weekend).
  
Back to top
 
IP Logged
 
Rosie Fernandez
New Member
*
Offline


Oldunreal member

Posts: 3
Joined: Feb 19th, 2020
Re: ScriptedTexture.DrawPortal
Reply #3 - Feb 21st, 2020 at 3:08am
Print Post  
I am wondering like you. hope everyone help me
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo