Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Textures that don't retain original resolution
Wyz Offline
Junior Member

Posts: 12
Threads: 3
Joined: Jul 2012
Reputation: 0
#1
Custom Textures that don't retain original resolution

I've been recently working on a new custom story, and I'm implementing an intro sequence of 3 backgrounds. The sequence works fine, fades in and out with no issues, but it's the actual textures that are giving me problems. They are 768x768, and are primitive backgrounds. In the HPL editor, they have perfect resolution, no blurriness. However, when I load up my game, they instantly become very blurry, yet still visible. The weird thing is, I'll load up the level in HPL after testing it and the textures' references are gone, and I have to have them point to the textures I made again. If it is any use, I used paint instead of photoshop to make the textures in the Materials editor, and used Alpha Blend and default object type. If anyone has an answer it'd be much appreciated! Smile
08-11-2013, 12:39 AM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#2
RE: Custom Textures that don't retain original resolution

As far as I know all textures for HPL2 has to have a res that is a power of 2
08-11-2013, 01:01 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#3
RE: Custom Textures that don't retain original resolution

Make sure the Resolutions are the Power of two. This means like 216x216, 512x512, etc.

"Veni, vidi, vici."
"I came, I saw, I conquered."
08-11-2013, 01:21 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: Custom Textures that don't retain original resolution

768x768 is a working resolution, it's just not used that often.

I think it has something to do with mip-maps (or lack-thereof). Also, be sure that the material and diffuse texture share the same exact name. That should help stop the redirecting problem.
08-11-2013, 07:42 AM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#5
RE: Custom Textures that don't retain original resolution

(08-11-2013, 01:21 AM)JustAnotherPlayer Wrote: Make sure the Resolutions are the Power of two. This means like 216x216, 512x512, etc.

It's 256x256, not 216x216.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
08-11-2013, 11:18 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#6
RE: Custom Textures that don't retain original resolution

You should make sure your texture filter settings is trilinear and texture quality set to high.

Tutorials: From Noob to Pro
08-11-2013, 07:35 PM
Website Find
Wyz Offline
Junior Member

Posts: 12
Threads: 3
Joined: Jul 2012
Reputation: 0
#7
RE: Custom Textures that don't retain original resolution

Thanks for the responses, but changing the settings has no effect on the blurriness in-game. After I play through the intro once, I go into HPL and the textures are gone. The primitives are there, just without any texture address. Also, the third texture (intro3.mat) doesn't show up as a choice anymore when I try and load it in HPL. I even tried making a copy and renaming it. It also seems that when I rename the diffuse and materials the same, they don't show up as options when I try to implement them in HPL...
08-11-2013, 11:40 PM
Find




Users browsing this thread: 1 Guest(s)