lfnetwork.com mark read register faq members calendar

Thread: The true nature of surfacelight/lightimage? (shader)
Thread Tools Display Modes
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Prev Previous Post   Next Post Next
Old 10-08-2013, 11:32 AM   #1
FarbrorGnur
Rookie
 
FarbrorGnur's Avatar
 
Join Date: Aug 2011
Posts: 47
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.

https://dl.dropboxusercontent.com/u/...facelight1.jpg

https://dl.dropboxusercontent.com/u/...facelight2.jpg

Shader (non-exaggerated version):

Code:
textures/Bootland/ceiling1
{
	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: https://dl.dropboxusercontent.com/u/...facelight3.jpg


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?
FarbrorGnur is offline   you may: quote & reply,
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JO Mapping > The true nature of surfacelight/lightimage? (shader)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


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

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