About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
No Lighting on Decals and Particles
Author Message
fatcoder Offline
Member

Post: #1
No Lighting on Decals and Particles
I've noticed when using decals (on the terrain in this case) that they don't seem to be effected by lighting. For example, I can turn off the main sun directional light and the decals are still drawn with full brightness on the dark terrain.

Also, seems to be the same for particles too? Lighting doesn't effect them either.

Is this a limitation of decals and particles or might I be doing something wrong?
05-31-2012 07:46 AM
Find all posts by this user Quote this message in a reply
Magnets Offline
Member

Post: #2
RE: No Lighting on Decals and Particles
Would like to know too!
06-02-2012 10:09 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: No Lighting on Decals and Particles
try mesh overlays instead, decals are drawn in blended mode, same as particles, in a separate stage, and they are not affected by lighting
06-05-2012 12:26 PM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #4
RE: No Lighting on Decals and Particles
Will mesh overlays work on the terrain as well? I've not looked into using it yet.
06-05-2012 11:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: No Lighting on Decals and Particles
@fatcoder: ah, you may want to try draw decals in RM_OVERLAY mode, maybe that will help.
@aceio: there is Game.World function for creating terrain mesh overlays, also presented in the tutorial.
06-06-2012 12:40 PM
Find all posts by this user Quote this message in a reply
Post Reply