SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: Rayce on December 12, 2014, 01:40:03 PM

Title: Texture question. [Solved]
Post by: Rayce on December 12, 2014, 01:40:03 PM
If you make a texture larger, will it still work?
Title: Re: Texture question.
Post by: Anyder on December 12, 2014, 02:13:50 PM
Quote from: Commander Awesome on December 12, 2014, 01:40:03 PM
If you make a texture larger, will it still work?
I think it depends on the texture...
SKY doesnt matter (by what i noticed in all my skins)
but for others, it will say something about collision and if im not wrong it wont work
Title: Re: Texture question.
Post by: Rayce on December 12, 2014, 02:18:41 PM
Ok, thanks. What about terrain?
Title: Re: Texture question.
Post by: Anyder on December 12, 2014, 02:20:18 PM
Quote from: Commander Awesome on December 12, 2014, 02:18:41 PM
Ok, thanks. What about terrain?
that will not work, as far as i know (it didnt work for me)
Title: Re: Texture question.
Post by: Rayce on December 12, 2014, 02:24:03 PM
Ok.
Title: Re: Texture question. [Solved]
Post by: RepComm on December 12, 2014, 03:24:56 PM
Yes, if you enlarge or stretch the texture for any material or 3d projection, it will look the same after its rendered.
This will allow you to create new hd texture or memory conserving modifications.

The thing is, battlefront and most graphics cards are built to use textures whose sizes are by powers of 2 (ex 256, 512, 1024, 2048), so if you resize it vertically or horizontally, do it by those powers. you can also resize a texture vertically alone, it won't mess up what it renders like ingame (same goes for horizontally). if you resize a texture to dimensions to anything other than a power of 2, the shader will start glitching out and give you all kinds of weird (and cool) effects. i had one building acting like a mirror once, it was so cool.

edit: Excuse the horrible english, tiny mobile device with an tiny keyboard doesn't serve well for writing paragraphs.
Title: Re: Texture question. [Solved]
Post by: Rayce on December 12, 2014, 03:27:30 PM
Makes sense, I guess. Sweet!
EhPortal 1.34 © 2025, WebDev