Lighting help

Blitz3D Forums/Blitz3D Beginners Area/Lighting help

Kiyoshi(Posted 2010) [#1]
Hi! I'm creating a game, where the main goal of the game is to collect all the keys, similar to the Power Stars of Mario 64. I've created a level mesh using Maplet, and made good use of its lightmap feature. Also, I have a mesh for the keys as well. Now, I want these keys to be shiny, so I set the EntityShininess to 1 for the keys. This has no effect unless I create a light with CreateLight. However, when I created this light, it somewhat ruins my lightmapped level. My question is: Is there a way to disable lighting to a certain mesh? In other words, I don't want this light to effect my level, just the keys.

Many thanks! :D


Matty(Posted 2010) [#2]
If your mesh is set to 'full bright' entityfx 1 this should disable the affect of lights on your mesh.


Zmatrix(Posted 2010) [#3]
Or use a sphere map for lighting on the keys, give it a nice metal look.
blend mode 5 or 3 depending on how bright the texture map itself is.

good luck on your game.

Sam


Kiyoshi(Posted 2010) [#4]
Thanks! This helps alot :D