[CS:GO][/ANY] Colored Flashlight
Hi :D
i want show you simple code to create a flashlight Code:
float playerPos[3]; https://developer.valvesoftware.com/wiki/Light_dynamic Toggle the light on/off: Code:
AcceptEntityInput(entlight, "Toggle"); "For the 2013 SDK this is limited to 17 lights on at any one time so use wisely." Thanks Bacardi :D https://cdn.discordapp.com/attachmen...65/unknown.png |
Re: [CS:GO][/ANY] Colored Flashlight
Nice.
But is this true ? Quote:
|
Re: [CS:GO][/ANY] Colored Flashlight
it's true :/
|
Re: [CS:GO][/ANY] Colored Flashlight
You also get lighting errors when two dynamic lights cross eachother.
|
Re: [CS:GO][/ANY] Colored Flashlight
Source engine does not do lighting smart at all.
|
Re: [CS:GO][/ANY] Colored Flashlight
Proper dynamic lighting in BSP requires additional lightmap data to be "baked" into the BSP which explodes filesizes. Then realtime ray tracing activates the lightmap shadow scaling which results in a shadow.
CSGO uses one dynamic light for the environment light source and allows a second light to be cast. When a third is added the lightmaps flicker around. Edit: I figure as the dynamic lighting from this plugin isnt compiled into the maps lightmap data it probably doesnt wig out, while they probably dont generate a shadow. |
All times are GMT -4. The time now is 12:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.