Raised This Month: $12 Target: $400
 3% 

How we can remove shadows from map, or change light angle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 08-18-2016 , 20:31   How we can remove shadows from map, or change light angle
Reply With Quote #1

On this map very brightly. I tried to disable it through SetLightStyle( 0, "e" ); and after this have some problems with shadows :\
Spoiler

Last edited by ZASTRELIS; 08-18-2016 at 20:32.
ZASTRELIS is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 08-18-2016 , 21:14   Re: How we can remove shadows from map, or change light angle
Reply With Quote #2

take a look here https://forums.alliedmods.net/showthread.php?t=199799
__________________
coding & free software
shanapu is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 08-18-2016 , 22:09   Re: How we can remove shadows from map, or change light angle
Reply With Quote #3

it isn't solution of this problem
ZASTRELIS is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 08-18-2016 , 22:32   Re: How we can remove shadows from map, or change light angle
Reply With Quote #4

I think we can do it when map starts, find light ent and change lights' angle
but I don't know how do it in sm :\ never did this

Last edited by ZASTRELIS; 08-19-2016 at 07:12.
ZASTRELIS is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-18-2016 , 22:35   Re: How we can remove shadows from map, or change light angle
Reply With Quote #5

Code:
	new i = -1;
	while ((i = FindEntityByClassname(i, "env_cascade_light")) != -1) { 
		AcceptEntityInput(i, "Kill");
	}
Mitchell is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-19-2016 , 05:29   Re: How we can remove shadows from map, or change light angle
Reply With Quote #6

Most lighting is compiled into the map.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-19-2016 at 05:30.
Powerlord is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 08-19-2016 , 07:12   Re: How we can remove shadows from map, or change light angle
Reply With Quote #7

Thanks for you posts. Like you)
ZASTRELIS is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 08-19-2016 , 07:13   Re: How we can remove shadows from map, or change light angle
Reply With Quote #8

Thanks for your re. Like you)
ZASTRELIS is offline
Reply



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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode