Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DDS and shaders
06-01-2013, 04:27 AM,
#1
DDS and shaders
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 !
Reply
06-01-2013, 07:27 AM,
#2
RE: DDS and shaders
Oh yeah, I don't think I have tested dds textures with shaders. Will have a look, thanks.
Reply
06-01-2013, 11:02 AM,
#3
RE: DDS and shaders
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?
Reply
06-01-2013, 11:53 AM,
#4
RE: DDS and shaders
They work if you turn anisotropic filtering off, although there are loads of: ERROR: OpenGL error "invalid value" during: Texture creation
in log.txt.
Reply
06-01-2013, 12:03 PM, (This post was last modified: 06-01-2013, 12:09 PM by NaN.)
#5
RE: DDS and shaders
(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/...85%29.aspx ), will fix this asap.
Reply
06-01-2013, 01:40 PM,
#6
RE: DDS and shaders
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 !
Reply
06-01-2013, 01:58 PM,
#7
RE: DDS and shaders
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]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)