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 Stretching texture over the whole hud? (Read 310 times)
Krull0r
Global Moderator
Betatester
Developer Team
*****
Offline


227 Emitter Expert

Posts: 302
Location: Germany
Joined: Jul 1st, 2007
Gender: Male
Stretching texture over the whole hud?
Feb 28th, 2017 at 8:05pm
Print Post  
Hi there Smiley

Is it possible to stretch a texture with the size of 256x256 Over the whole screen using a hud?
I looked in the spectator hud and tried to change it to my uses and find a way to figure out how to set it up.

I had a working version using "clip" with this but it was only compatible with my screen resolution.
But I need it to be flexible for other screen resolutions.

Greets Krull0r
  

Back to top
 
IP Logged
 
yrex
Betatester
Offline


Oldunreal member

Posts: 143
Joined: May 6th, 2015
Gender: Male
Re: Stretching texture over the whole hud?
Reply #1 - Feb 28th, 2017 at 8:30pm
Print Post  
Code
Select All
Canvas.SetPos(0, 0);
Canvas.DrawTile(tex, Canvas.ClipX, Canvas.ClipY, 0, 0, tex.USize, tex.VSize); 

  

Website | ampoyrex at wp dot pl
Back to top
 
IP Logged
 
Krull0r
Global Moderator
Betatester
Developer Team
*****
Offline


227 Emitter Expert

Posts: 302
Location: Germany
Joined: Jul 1st, 2007
Gender: Male
Re: Stretching texture over the whole hud?
Reply #2 - Mar 1st, 2017 at 11:50am
Print Post  
Thanks alot yrex!

This works exactly as I wanted! Smiley
  

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