Forums
DDS and shaders - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: DDS and shaders (/showthread.php?tid=1727)



DDS and shaders - berzingue - 06-01-2013

Hello,

here is a track with .dds textures only :

http://dl.free.fr/t5UUMhgfW

That's nice : track is loading faster, and framerate seems better...
But shaders don't work !


RE: DDS and shaders - NaN - 06-01-2013

Oh yeah, I don't think I have tested dds textures with shaders. Will have a look, thanks.


RE: DDS and shaders - NaN - 06-01-2013

Hmm, those dds files don't work for me at all (with shaders -> black, without shaders -> white). They seem to be DXT1. I think it might have to do how alpha is processed. What tool have you used to create them?


RE: DDS and shaders - Timo 6 - 06-01-2013

They work if you turn anisotropic filtering off, although there are loads of: ERROR: OpenGL error "invalid value" during: Texture creation
in log.txt.


RE: DDS and shaders - NaN - 06-01-2013

(06-01-2013, 11:53 AM)Timo 6 Wrote: They work if you turn anisotropic filtering off, although there are loads of: ERROR: OpenGL error "invalid value" during: Texture creation
in log.txt.

Anisotropic filtering has some effect? Interesting...

The invalid value is my fault, reading the last mip levels incorrectly ( http://msdn.microsoft.com/de-de/library/windows/desktop/bb205578%28v=vs.85%29.aspx ), will fix this asap.


RE: DDS and shaders - berzingue - 06-01-2013

dds textures are created with a import-export plug in for photoshop CS3.
Without alpha : DXT1
With alpha : DXT5

I hope it helps a little bit !


RE: DDS and shaders - NaN - 06-01-2013

After fixing miplevel bug I get this (with aniso filtering). Need to see how the remaining white textures differ from the others:
[Image: ddspr.jpg]