Thread Tools Display Modes
04/23/21, 01:26 AM   #1
Hydra9268
 
Hydra9268's Avatar
AddOn Author - Click to view addons
Join Date: May 2018
Posts: 33
DDS woes

Hi, all,

I want to replace a DDS image with a new DDS image in my addon.

I saved the image as a transparent png. I used different PNG to DDS converter sites, Paint.NET, and even the Nvidia DDS plugin for Photoshop to convert the PNG to a DDS. However, the results are always the same. Nothing appears. If I change the DDS filename to one of the other DDS files I created, the image appears.

My file is saved to DXT5 format. Nothing displays.



I used this random DXT5 DDS file. It displays.



Have you seen this before?
Do you know what could cause it?
Does ESO require a specific DDS file setting to display?

Last edited by Hydra9268 : 04/23/21 at 02:05 AM.
  Reply With Quote
04/23/21, 02:07 AM   #2
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by Hydra9268 View Post
Hi, all,

I want to replace a DDS image with a new DDS image in my addon.

I saved the image as a transparent png. I used different PNG to DDS converter sites, Paint.NET, and even the Nvidia DDS plugin for Photoshop to convert the PNG to a DDS. However, the results are always the same. Nothing appears. If I change the DDS filename to one of the other DDS files I created, the image appears.

Have you seen this before?
Do you know what could cause it?
Does ESO require a specific DDS file setting to display?
What about the size? it must divisible by 8. If not even 2^n.
  Reply With Quote
04/23/21, 02:59 AM   #3
Hydra9268
 
Hydra9268's Avatar
AddOn Author - Click to view addons
Join Date: May 2018
Posts: 33
Yup. That was it. I set the height to 75. I changed it to 64.



Divisibility by 8 is a great thing to know about DDS textures!

Worth noting the image's width is 500. That tells me as long as either the width OR the height is divisible by 8, it should work.

Thank you, votan! 🙂
  Reply With Quote
04/25/21, 08:41 AM   #4
ShadowMau
AddOn Author - Click to view addons
Join Date: Oct 2018
Posts: 23
I think I remember seeing somewhere it is 2^n. I'll post a source if I can find it again.
  Reply With Quote
04/27/21, 02:09 AM   #5
MrPikPik
AddOn Author - Click to view addons
Join Date: Nov 2019
Posts: 3
Hey friend,
I personally use this tool to convert image files to DDS files.

For the texture size, you indeed want resolutions in the power of 2 (2, 4, 8, 16, 32, ...) for texture compression and mipmapping and sometimes anisotropic filtering reasons, so I recommend scaling them beforehand or checking the box "Resize Pow2" of the linked tool. DDS supports textures in any resolutions, but game engines might not.

For texture format, DXT3 gave me the best results (BC2 texture compression is the one you want)
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » DDS woes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off