Please be patient, this is a major noob question here. It's my understanding that in order to preview gloss maps within maya, you need a HLSL shader? I briefly tried working with it but apparently it's up to the artist to choose what .fx file to drop into the HLSL shader before he can use it?
My end goal is being able to preview gloss maps so what is some of ya'lls workflow when previewing gloss maps in maya?
Replies
I don't use Maya so I can't confirm if there's another way but use a shader -- once you are in the habit, your art will look so much better (like a proper game model, and you can texture it knowing how it will look in game rather than in Maya).
There are plenty of them around - Xoliul works with Maya, here's another thread with links to some: http://www.polycount.com/forum/showthread.php?t=80454
Xoliul viewport shader has a gloss map slot - put your gloss in there and smile
You need to load the HLSL/CGFX plugins for Maya, it's there with the install you just need to load them.. Go to Window- Settings/Preferences- Plugin-manager.
http://www.laurenscorijn.com/viewportshader
you just need to enable the hlsl plugin first than load up the FX file.
also
lcUberShader_3.0 is a good cgfx shader for maya that supports gloss.
http://blog.leocov.com/p/downloads.html
I'm obviously overlooking a step somewhere.
Just make sure the gloss map is on the alpha of the specular, and connect through hypershader the alpha output of the gloss map to the cosine power of phong.
Reflectivity (reflection mask) and Diffuse works the same way.
edit: forgot to mention, if you have a separate map for gloss, it's fine, make sure to just grab one of the channels, R for an example.
Make sure to load the texture on the left and load the phong material on the right
I've tried lcUberShader_3.0, Xoliul Shader and Kodde shader. The shader with the best interface and functionality, in my opinion, is the Kodde shader..
At least try it. I would not use an old 3ds max shader in maya.
I'm starting to have a feeling that Maya 2012 just simply doesn't support it anymore. Perhaps a bug somewhere.
Sorry I should have clarified, high quality doesnt work for cgfx or hlsl shaders though does work for maya's shaders (though its spotty and doesnt work 1/4 of the time) Are you using Leo's cgfx shader? CGFX shaders in Maya are somewhat better than HLSL as Mayas viewport is OpenGL