Jump to content


Photo

Makes textures darker via Material def:


3 replies to this topic

#1 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 20281 posts

Posted 17 September 2018 - 04:24 PM

I have the following texture -

tdm_roulette_red_chip
{
	noSelfShadow
	noshadows

    {       
     blend	diffusemap
	 map	models/darkmod/props/textures/red_chip
    }


	// TDM Ambient Method Related 
	{							
		if (global5 == 1)		
		blend add				
		map				models/darkmod/props/textures/red_chip
		scale			1, 1		
		red				global2	
		green			global3	
		blue			global4	
	}

}

The issue its very bright in the dark, how would I tweak the material so it isnt so bright..



#2 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 9102 posts

Posted 17 September 2018 - 04:39 PM

I have the following texture -

tdm_roulette_red_chip
{
	noSelfShadow
	noshadows

    {       
     blend	diffusemap
	 map	models/darkmod/props/textures/red_chip
         rgb 0.5
    }


	// TDM Ambient Method Related 
	{							
		if (global5 == 1)		
		blend add				
		map				models/darkmod/props/textures/red_chip
		scale			1, 1		
		red				global2	
		green			global3	
		blue			global4	
	}

}

The issue its very bright in the dark, how would I tweak the material so it isnt so bright..

 

use rgb 0.5 to decrease brightness 50%

 

Range from 1.5 to 0.


Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#3 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1809 posts

Posted 18 September 2018 - 10:56 AM

@biker,

 

You're not working on a new map, are you?



#4 Bikerdude

Bikerdude

    Mod hero

  • Member
  • PipPipPipPipPip
  • 20281 posts

Posted 18 September 2018 - 11:35 AM

use rgb 0.5 to decrease brightness 50%

 

Range from 1.5 to 0.

Ah I did wonder if it was that simple, nice one.

You're not working on a new map, are you?

Finishing up work on a little colab project with 'Some1stolit' and just fixing any remaing little bugs that are left.





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users