Direct X
Moderator: GZDoom Developers
Direct X
I wonder what DirectX Doom will look like... Imagine sprites that cast shadows! Imagine that your vision is blurry when you are underwater! Imagine the gradient lighting not only for walls, but for actors!
I'm just curious, will it happen or not?
I'm just curious, will it happen or not?
Re: Direct X
What you probably really mean is support for custom shaders, which I don't really see happening to the software renderer anytime soon... and *could* be possible with GZDoom if there was a way to hook user shaders (via GLSL) into the render pipeline...
(It would be great to see GZDoom use Direct3D instead of OpenGL but also I don't see that happening anytime soon)
(It would be great to see GZDoom use Direct3D instead of OpenGL but also I don't see that happening anytime soon)
-
- Posts: 17
- Joined: Wed Jun 20, 2012 6:18 pm
Re: Direct X
It might be possible to wrap GZDoom with GLDirect. There's the old GLDirect that wrapped to D3D8 and a newer source upload you can find that wraps to D3D9. Unfortunately, I've never tested it on a capable computer and don't have the opportunity right now, so I can't promise that it would even attempt to render before an error. Also, even if it works, the usefulness of doing so is questionable.
Re: Direct X
Imagine no longer!FLYBAT wrote:I wonder what DirectX Doom will look like...
All Linux and Mac users would agree 100% with that sentiment, I am sure.Nash wrote:(It would be great to see GZDoom use Direct3D instead of OpenGL)
Re: Direct X
Right. Well, I don't know the code that much, but I remember the renderer code being totally separated from the game code. In that case, the game would most probably make use of a plugin system for renderers. Of course this all means nothing when no one is interested in coding it...
How is Source engine running on Mac anyway? Did they use a wrapper? Or did they change the renderer to SDL?
How is Source engine running on Mac anyway? Did they use a wrapper? Or did they change the renderer to SDL?
Re: Direct X
SDL? Ha. Not unless they are masochists.
Wikipedia sez: "Direct3D rendering on Microsoft Windows PCs, Xbox and Xbox 360, OpenGL rendering on Mac OS X and the PlayStation 3." Mystery solved.
Wikipedia sez: "Direct3D rendering on Microsoft Windows PCs, Xbox and Xbox 360, OpenGL rendering on Mac OS X and the PlayStation 3." Mystery solved.
- Kinsie
- Posts: 7402
- Joined: Fri Oct 22, 2004 9:22 am
- Graphics Processor: nVidia with Vulkan support
- Location: MAP33
- Contact:
Re: Direct X
They use their own Direct3D>OpenGL translator, yeah. That way they don't have to write every shader twice.Nash wrote:How is Source engine running on Mac anyway? Did they use a wrapper? Or did they change the renderer to SDL?
They just hired the creator of SDL to work on the Linux version of Source, actually.Gez wrote:SDL? Ha. Not unless they are masochists.
Re: Direct X
It would look like ZDoom, since ZDoom is the only maintained port that uses DirectX on Windows instead of SDL.FLYBAT wrote:I wonder what DirectX Doom will look like...
Re: Direct X
You underestimate OpenGL capabilitiesFLYBAT wrote:I wonder what DirectX Doom will look like... Imagine sprites that cast shadows! Imagine that your vision is blurry when you are underwater! Imagine the gradient lighting not only for walls, but for actors!
I'm just curious, will it happen or not?

There are high-budget games like Doom3 and Brink that use it.
Re: Direct X
Like rage xD