LucasForums (
-   JO Mapping (
-   -   The true nature of surfacelight/lightimage? (shader) (

FarbrorGnur 10-08-2013 10:32 AM

The true nature of surfacelight/lightimage? (shader)
I've noticed that when using surfacelight and lightimage in textures, it creates a weird inconsistent effect. Round lights are showing up on the surface that emits light. Makes it hard to find the right mood!

Here are two screenshots with an exaggerated surfacelight value, to show it.

Shader (non-exaggerated version):


        qer_editorimage textures/Bootland/ceiling1.tga
        q3map_lightimage textures/Bootland/ceiling1.tga
        q3map_surfaceLight 30
        map $lightmap
        rgbGen identity
        map textures/Bootland/ceiling1
        blendFunc filter
        rgbGen identity

Non-exaggerated screenshot:

I'm aware that it uses itself as a lightimage. This is so that the texture that is emitting will be affected by the light in the same degree as its surroundings (ideally..!)

Any ideas?

All times are GMT -4. The time now is 05:03 PM.

Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2015 - All rights reserved.