Frictional Games Forum (read-only)
[BUG]Material Editor preview glitch - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [BUG]Material Editor preview glitch (/thread-24750.html)



[BUG]Material Editor preview glitch - xjonx - 03-03-2014

When I load a texture that's fully white I get this in the preview:
Spoiler below!
[Image: FEImWql.png] when my mouse is hovering over the editor
Spoiler below!
[Image: VgcKJiT.png] when my mouse is hovering over my desktop
Any one also having this glitch? Huh


RE: [BUG]Material Editor preview glitch - Mudbill - 03-03-2014

Don't use .png files. They'll mess you up.
Try .tga or preferrably .dds. Don't forget alpha channels if you want transparency.


RE: [BUG]Material Editor preview glitch - xjonx - 03-03-2014

(03-03-2014, 02:22 AM)Mudbill Wrote: Don't use .png files. They'll mess you up.
Try .tga or preferrably .dds. Don't forget alpha channels if you want transparency.
I used .pngs for my intro textures and it was fine for those


RE: [BUG]Material Editor preview glitch - 7heDubz - 03-03-2014

Well then you got lucky.


RE: [BUG]Material Editor preview glitch - Juras - 03-03-2014

I think it's the resulotion. If it's not perfectly square (512x512;1024x1024;etc) the preview will mess up. Had the same problem, but the texture worked though.


RE: [BUG]Material Editor preview glitch - Mudbill - 03-03-2014

If you are to export this and use it, it might work despite looking strange in the preview. But yes, make sure the resolution is a pow2 texture. 512x512 pixels and 1024x1024 pixels are common resolutions to use.

.pngs work but are not recommended. If a problem occurs, that might be the problem on its own.


RE: [BUG]Material Editor preview glitch - Traggey - 03-03-2014

You want to make sure to always use .dds ( direct draw surface ) textures, they are better for performance and will decrease your chanses of running into bugs.

Also this is posted in the wrong section, moved.