Shaders and FBOs

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: Shaders and FBOs

Post by Luiji »

love.graphics.direct3d.lame = true

Such a module would massively decrease portability. However, a DirectX port would be quite useful.
Good bye.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Shaders and FBOs

Post by kikito »

If I had a vote, I'd vote against losing even 1 minute on DX.
When I write def I mean function.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Shaders and FBOs

Post by bartbes »

Luiji wrote:Such a module would massively decrease portability.
Ehm, no, it won't be a replacement, it will be an alternative.
Luiji wrote: However, a DirectX port would be quite useful.
What? Direct3D is the graphics part of DirectX, so I'm not sure what it is you're saying.
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: Shaders and FBOs

Post by Luiji »

I meant Direct3D. The usefulness of the port would be that certain Direct3D works better on certain hardware (because such certain hardware is lame).
Good bye.
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Shaders and FBOs

Post by Jasoco »

OpenGL > DirectAnything

As is my general opinion.
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: Shaders and FBOs

Post by Luiji »

I've used older hardware where OpenGL runs like crap and Direct3D runs perfectly. It's a problem with the hardware companies, but since OpenGL is now almost globally supported, it actually might just be a waste of time to include any Direct3D code.
Good bye.
User avatar
The Burrito
Party member
Posts: 153
Joined: Mon Sep 21, 2009 12:14 am
Contact:

Re: Shaders and FBOs

Post by The Burrito »

I don't see much need for any kind of Dx support. Though I guess you would probably need it for a xbox version of löve, and there are some old graphics cards that are terrible at openGL.

Anyways, shaders are very cool, but if they become part of löve they definitely need some sort of easy way to configure them, a common set as Elvashi suggested would cover most needs, but I think ideally something akin to how mapPixel works but with a FBO would be more lövely. (even if its a bit slow)
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: Shaders and FBOs

Post by Luiji »

An XBOX version of LOVE would need DirectX, yes, but that is such an old system we may not want to spend time supporting it until someone volunteers, in which case they'll implement DirectX, too. Same goes for really old graphics hardware.

An XBOX 360 version would not work with ANY of the dependencies and probably wouldn't properly work with the current C++, since XBOX 360 requires you to write programs in .NET and I'm pretty sure Visual C++ can't perfectly compile normal C++ programs.
Good bye.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Shaders and FBOs

Post by bartbes »

Luiji wrote:I'm pretty sure Visual C++ can't perfectly compile normal C++ programs.
How do you think the windows builds are made?
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: Shaders and FBOs

Post by Luiji »

With MinGW. I guess I was wrong there, but what I meant was Visual C++ .NET.
Good bye.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest