Game Development Community

Diffuse and Self Illumination

by Cinder Games · in · 10/26/2005 (7:02 am) · 7 replies

Can the lighting pack allow for selfillumination besides 0% and 100%



this is the look i wanna have. it's 70% self illumination and 30% diffuse.
img460.imageshack.us/img460/6413/diffusegood0zv.jpg



as apposed to 0% and 100%
img415.imageshack.us/img415/7403/nodiffy7pb.jpg

#1
10/26/2005 (8:07 am)
You can probably get most of the way there by applying a spherical environment map close to white or light grey, with some slight gradient to adjust the shading. On the bitmap texture Gradient from dark at the bottom to light at the top.
#2
10/26/2005 (3:40 pm)
Hi Ramen,

Excellent question, yes you can do that with the Torque Lighting Kit, however I'm not sure if that's the effect you're looking for, because the self-illumination will cause the character to glow in the dark. Instead I can show you how to setup TLK to get the 70/30 of ambient/diffuse and still adjust the intensity to the scene's lighting.

-John
#3
10/26/2005 (3:43 pm)
I see. while with lightwave, they due glow in the dark, which is not something i want, but i never had to do any "in the dark" scenes, so it worked out. Basically i want just the visual look, the soft shading that the two settings give.
#4
10/26/2005 (7:23 pm)
Cool that's an easy code change, which you can tweak to get the exact look you're shooting for. Also the change works with all dts objects, so your scene lighting will be consistent.

If you create a thread in the TLK Private Forums I can post details on the change there.

-John
#5
10/26/2005 (7:49 pm)
Sorry, haven't purchased the lighting pack yet :) still debating, but it looks like it's definatly something i need. especially since you're so willing to help out. Unfortunately i'm in a situation where i may have to send a money order to get it. When i do, i'll repost int he private forums and ask for the code
#6
11/20/2005 (1:23 pm)
Ambient lighting solves your problem.
#7
11/21/2005 (10:23 am)
Hi Manoel,

Only up until a point. By default Torque bases DTS object lighting (diffuse and ambient) on where the object is located, more specifically which area of an interior or the terrain it's over. A single lighting value is extracted from that area and then converted back into a diffuse and ambient value regardless of how the sun is setup.

TLK allows you to customize the balance of diffuse and ambient, and the resulting shading model, so you always have the perfect lighting style for your game.

-John