Sign in to follow this  

Emissive Mapping?

This topic is 4379 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I was watching the Unreal 3 video, and I noticed an effect they are doing, which involves parts of the texture being emissively lit. Here's a screeny: Free Image Hosting at www.ImageShack.us So, Is this done with some sort of grayscale emissive map? Thanks

Share this post


Link to post
Share on other sites
In my engine the artists have an option to use an "illumination" map.

Normally you do:
Pixel = Albedo * Light

In it's simplest form you can use the illumination map to remove any light contribution using:
Pixel = Albedo * Light * (1 - Illumination) + Albedo * Illumination

It's sometimes desireble to render certain stuff without and light contribution and with the forumla above you've only got to set the illumination value to 1.

I've took it a step further though, basically doing:
RealIllum = Illumination * 8
Blend = Min(1, RealIllum)
Pixel = Albedo * Light * (1 - Blend) + Albedo * RealIllum

If the value for a pixel in the illumination map is between zero and 1/8, the final pixel color blends from the normal lit pixel to strictly using albedo, once it goes beyond 1/8 it becomes brighter and brighter, at most 8x albedo.
I'm using HDR so this will cause a nice glowing effect if set bright enought.
Ofcourse you can choose a different value than 8.

I dunno how Unreal3 does it.

Share this post


Link to post
Share on other sites

This topic is 4379 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

Sign in to follow this