Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How does Eclipse hande lighting?


EdSabbath
 Share

Recommended Posts

Hey guys, finally got another copy of VB6 and I want my first edit to be a lighting mod. Was wondering what's the include for lighting effects, and how are they handled?

i.e., is there a new layer for lighting? Or is the alpha/color of the tiles changed via palette on the light tilemap?

I'm wanting to code some sort of moveable light. Shouldn't be hard (I'm thinking) once I get to the lighting handler.
Link to comment
Share on other sites

@TimeBomb:

> AFAIK there is no lighting, or at least real lighting, because Eclipse uses DX7, not DX8\. DX7 doesn't support lighting, but DX8 does.

I know it isn't REAL lighting, silly. That's why I want to know how to handle the lighting. It's carried via alpha or color channel somehow. I just dunno which one or if it's direct on the map or a top layer.
Link to comment
Share on other sites

@EdSabbath:

> @TimeBomb:
>
> > AFAIK there is no lighting, or at least real lighting, because Eclipse uses DX7, not DX8\. DX7 doesn't support lighting, but DX8 does.
>
> I know it isn't REAL lighting, silly. That's why I want to know how to handle the lighting. It's carried via alpha or color channel somehow. I just dunno which one or if it's direct on the map or a top layer.

Tis not a good thing to call others Silly when you have not comprehended the content of what they have said.
He said to you that you will need to use DX8 to achieve what you mentioned as it can not be done with DX7.
Eclipse uses DX7 which would mean upgrading Eclipse to be DX8 and if you are going to do that you might want to investigate how VBGore done it just off the bat.
Currently the light system is contained within a Tileset so toy with that in the meantime.
Link to comment
Share on other sites

@silentdemonic:

> @EdSabbath:
>
> > @TimeBomb:
> >
> > > AFAIK there is no lighting, or at least real lighting, because Eclipse uses DX7, not DX8\. DX7 doesn't support lighting, but DX8 does.
> >
> > I know it isn't REAL lighting, silly. That's why I want to know how to handle the lighting. It's carried via alpha or color channel somehow. I just dunno which one or if it's direct on the map or a top layer.
>
> Tis not a good thing to call others Silly when you have not comprehended the content of what they have said.
> He said to you that you will need to use DX8 to achieve what you mentioned as it can not be done with DX7.
> Eclipse uses DX7 which would mean upgrading Eclipse to be DX8 and if you are going to do that you might want to investigate how VBGore done it just off the bat.
> Currently the light system is contained within a Tileset so toy with that in the meantime.

I can't find this light tilemap. Whar is it at. :/

EDIT: Also, the tilemap is what I'm looking for. I know how the damn lighting works, I just can't find it in the source. I want to make a portable light source. This is what I've been trying to say. >_>
Link to comment
Share on other sites

@Robin:

> If you have the source then the first thing you should do is remove the 'light' layer of the maps and burn the DD7 'BltFx' procedures.
>
> That shit should never have seen the light of day.

lol. Well, it does get kind of annoying, the blatant light-to-dark. But I was working on making it just permanently dark and making the light layer either a glow/aura or flashlight effect and having the layer follow the player (on the client side, anyways). But I haven't sifted through the source to find the light layer yet and I haven't been able to get an answer out of anyone where it might be.

So I guess I'll have to find it myself :/
Link to comment
Share on other sites

I don't think you understand just how terrible the lighting system is. You're locking the DC for _every_ single tile! That's locking and unlocking around 900 times a loop, not to mention the CPU intensive act of ROPing the bloody stuff onto the surface.

If you're going to do a lighting system in DD7, your best bet is to pre-render the tilesets as both daytime and nighttime and simply switch between them.

In fact, your best bet is to just use Origins. xD
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...