+ Reply to Thread
Results 1 to 1 of 1

Thread: Lightmap shader problems

  1. #1
    Junior Member Nepra is on a distinguished road
    Join Date
    Jul 2012
    Posts
    5

    Question Lightmap shader problems

    Hi!

    So I have the problem of the texture being blocked by the lightmap and well, this sucks.

    Code:
    textures/Test/step_light_256x64
    {
    	q3map_lightImage textures/Test/step_lightmap.blend.tga
    	qer_editorImage textures/Test/step_light_256x64.tga
    
    	//q3map_surfacelight 10000
    	{
    		map $lightmap
    		rgbGen identity
    	}
    	{
    		map textures/Test/step_light_256x64.tga
    		blenFunc filter
    		rgbGen identity
    	}
    	{
    		map textures/Test/step_lightmap.blend.tga
    		blendFunc add
    	}
    
    }
    this result in:
    http://i.imgur.com/w8XTz3S.jpg

    I'm a noob so any advice would be very good.
    Oh, the texture shows up fine in gtkradiant.
    Thank you!

    edit: oh and now i broke it even more somehow, now it doesn't even light up.
    Last edited by Nepra; 12-14-2013 at 09:20 PM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts