right, i've run into a problem where I don't know how to use the nvidia plugin for photoshop. I don't know why, but it generates a texture with incorrect color... I can still generate normal maps from a diffuse (so that you generate each mipmap's normal map) but I can't make normal dds, for diffuse or color, they are always wrong. I guess I changed some setting but I've tried playing with the settings with no success

another problem I have is, how are you mean to export the alpha channel? it keeps telling me that there are too many channels to export, doesn't even let me select the dds format
or do you know of any other way to make dds files? I got told GIMP does it correctly
Replies
And as deja mentioned it has to do with having a document with just layers, and no layer at the bottom of the stack called background and locked (like is a default photoshop doc)
However in that case if you apply a layer mask to layer zero that gets exported as your alpha channel, however you may not get exactly what you paint there. Best to just flatten the image, and export then undo two steps, or make a new PSD with a background layer, the group and copy all your other layers over.
in photoshop file menu>layer>new>layer from background
You need a background layer your you get that error as mentioned above.
i think photoshop should have an option when you create a new document to have a background layer. As long as you have a background layer, you can add an extra alpha channel in the channels tab. then you can have the background colour you want.
I tried saving a clear gradient from black to transparent and that exported without problems, so the problem seems to happen when you have colour and other things going on. Anyone has any clues?
There are other options you could try if the Nvidia Photoshop plugin is borked. I think ATI's Compressonator is quite nice. Unfortunately not contained within Photoshop, but nice none the less.
http://developer.nvidia.com/object/texture_tools.html
its a command line app - runs on the gpu through CUDA - only downside is it only runs on certain supported hardware.
you can integrate alot of cool command line apps like this into photoshop using some quick javascript and easily accessable through the File>Scripts menu.
wont work if you don't have nvcompress.exe's file-path in your PATH ENV Variable
put the files here \Adobe Photoshop CS*\Presets\Scripts
run from File>Scripts
for color: SaveDDS_c.js
for normals: SaveDDS_n.js
How it works:
it saves a temporary copy of the current document as a .tga
it opens that temporary .tga and executes a .bat script on it containing the nvcompress commands.
it will spit out the .dds into the same folder the original file is in.
cleans up the temp files.
you can edit the command line options inside the script pretty easy
currently its set to DXT5 with mipmaps
see the command line options here:
http://code.google.com/p/nvidia-texture-tools/wiki/CommandLineTools
If anyone wants to take this script and expand/improve feel free to run with it.
btw, added your lcNextGenShader to the wiki, hope that's cool with you.