[英]GLSL Shaders in 3DSMax
So I've looked around, and since I have found no information on the subject, I assume 3DSMax does not support GLSL shaders?所以我环顾四周,因为我没有找到关于这个主题的信息,我认为 3DSMax 不支持 GLSL 着色器? Is this correct?这个对吗?
I am using 3DSMax 2010 and 2011, and am sick of writing two versions of the same sets of shaders - one for my application and one for 3DSMax.我正在使用 3DSMax 2010 和 2011,并且厌倦了编写同一组着色器的两个版本 - 一个用于我的应用程序,一个用于 3DSMax。 So much gets lost on the crappy workflow:(在糟糕的工作流程中丢失了很多东西:(
Does anyone have any information on how to render with GLSL shaders in 3DSMax 2010 or 2011?有人知道如何在 3DSMax 2010 或 2011 中使用 GLSL 着色器进行渲染吗?
Any help would be greatly appreciated.任何帮助将不胜感激。
Thanks in advance!提前致谢!
it supports DirectX shaders and metasl shaders.它支持 DirectX 着色器和 metasl 着色器。
You can code your own shaders (maxscript, c++ plugin, metasl) to fill the gap.您可以编写自己的着色器(maxscript、c++ 插件、metasl)来填补空白。 But you will not be able to see a unsupported material in the viewport.但是您将无法在视口中看到不受支持的材质。
For 2010 and higher the directX material also supports CGFX shaders as well as HLSL.对于 2010 及更高版本,directX 材质还支持 CGFX 着色器以及 HLSL。 Both formats might require slight tweaking to support 3ds max's parameter system as well as a game engine.两种格式都可能需要稍微调整以支持 3ds max 的参数系统以及游戏引擎。
In 2011 and 2012, Autodesk added support for metaSL , a format from NVIDIA (formerly mental images).在 2011 年和 2012 年,Autodesk 增加了对metaSL的支持,这是一种来自 NVIDIA(以前称为 mental images)的格式。 MetaSL shaders can export into CG, HLSL, GLSL, and also MentalRay Shaders. MetaSL 着色器可以导出为 CG、HLSL、GLSL 以及 MentalRay 着色器。
Vray 2.0 supports rendering of GLSL shaders on 3dsmax 2011 and above, though it is by no means a free rendering engine. Vray 2.0 支持在 3dsmax 2011 及更高版本上渲染 GLSL 着色器,尽管它绝不是免费的渲染引擎。
Vray: http://chaosgroup.com/en/2/vray.html Vray: http://chaosgroup.com/en/2/vray.html
GLSL Documentation: http://www.spot3d.com/vray/help/200R1/vrayglsltex.htm GLSL 文档: http://www.spot3d.com/vray/help/200R1/vrayglsltex.htm
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.