Jump to content

I do not understand why they are using DirectX11


Recommended Posts

1 hour ago, Masterpintsman said:

One could rephrase that as why don't they use OpenGL?

Not exactly because there can be good reasons to use a library the programmers know. So if they have experienced DirectX9 programmers it may not be a good decision to change the library to OpenGL because if you use DirectX9 they have a higher chance to know where errors came from. And if you port it to Linux(OpenGL mostly) you may also know what to do if errors happen.

50 minutes ago, Ternomir said:

Not exactly because there can be good reasons to use a library the programmers know. So if they have experienced DirectX9 programmers it may not be a good decision to change the library to OpenGL because if you use DirectX9 they have a higher chance to know where errors came from. And if you port it to Linux(OpenGL mostly) you may also know what to do if errors happen.

ONI is built in the Unity engine, which supports OpenGL, DirectX 9 and DirectX 11.

By default, Unity chooses the "best" option for the system and build target. The priority list for Windows PCs goes DX11, then DX9, and then OpenGL. The default for Mac and Linux builds is OpenGL.

Unity developers can choose to override this behavior and force OpenGL on Windows systems if they want, but I can't think of any reason to do so.

2 hours ago, Erasmus Crowley said:

ONI is built in the Unity engine, which supports OpenGL, DirectX 9 and DirectX 11.

By default, Unity chooses the "best" option for the system and build target. The priority list for Windows PCs goes DX11, then DX9, and then OpenGL. The default for Mac and Linux builds is OpenGL.

Unity developers can choose to override this behavior and force OpenGL on Windows systems if they want, but I can't think of any reason to do so.

And why can Unity engine not choose when it is on the costumers system? Would this not make this better?

17 minutes ago, Ternomir said:

And why can Unity not choose when it is on the costumers system? Would this not make this better?

How would that make it better?

EDIT: I think I misunderstood what you were asking.

I think you might have been asking if Unity will fall back from DirectX 11 to DirectX 9 if a customer's PC can't run DirectX 11. It will do that. It will always try to use DirectX 11 first though.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...