可以在没有着色器的情况下使用JMonkey Engine吗?

时间:2011-12-19 18:22:06

标签: java

我想知道JMonkey引擎(新团队在2009年推出后的新设计)是否可以在没有着色器的情况下运行。我需要一个可以在旧机器上运行的游戏引擎,它可能不支持着色器。我知道JMonkey引擎有很多着色器功能,如果我不支持着色器,我显然无法使用它,但可以使用引擎(固定功能管道用于图形,然后是一切否则:场景图,物理等),而不需要支持着色器?

如果它可以在没有着色器的情况下运行,我该如何实现呢?你好世界崩溃,因为我没有它们。 (如果没有人知道我在说什么,我会用实际的错误信息更新这篇文章。)

1 个答案:

答案 0 :(得分:1)

据我所知,JMonkey引擎3只能用于着色器。见JME3 and Shaders。从链接页面引用:

You probably heard that JME3 is “shader oriented”, but what does that mean?
Usually to use shaders you must create what is called a program. This program 
specify the vertex shader and the fragment shader to use.
JME3 encloses this in the material system. Every material in JME3 uses shaders.