我想知道JMonkey引擎(2009年新团队上任后重新设计的)是否可以在没有着色器的情况下运行。我需要一个可以在可能不支持着色器的旧机器上运行的游戏引擎。我知道 JMonkey 引擎有很多着色器功能,如果我不支持着色器,我显然将无法使用这些功能,但是是否可以在不需要着色器支持的情况下使用该引擎(图形的固定功能管道以及其他所有内容:场景图、物理等)?
如果它可以在没有着色器的情况下运行,我该如何实现呢? Hello World 崩溃了,因为我没有它们。 (如果没有人知道我在说什么,我将用实际的错误消息更新这篇文章。)
最佳答案
据我所知,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.
关于java - JMonkey引擎可以在没有着色器的情况下使用吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8565635/