Frictional Games Forum (read-only)
Shadow Lights (Again) - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Shadow Lights (Again) (/thread-9762.html)



Shadow Lights (Again) - TimmayIsHawt - 08-14-2011

Yeah so I've been having this problem with the cast shadow. So, someone told me to add a gobo to it, which I did, and it worked. But whenever I do a small change on that map, save the map, and then test the map, the light doesn't show. It shows when I don't make changes to the map. Can someone help me so I can make it stay without having to disappear and reappear every time i edit my map.


RE: Shadow Lights (Again) - Phoroneus - 08-14-2011

The gobo file is probably not being preserved when you save the map after editing it. After making changes, check the light and re-apply the gobo if needed. This is pretty common in the HPL editors, actually, as not all of the data that is used by the engine gets "remembered" by the editor for some reason. The same happens with ModelEditor sometimes, too.


RE: Shadow Lights (Again) - palistov - 08-14-2011

In the off-chance you're using a box light to raise the ambient light level of the entire map, make sure its blend function is set to Add. That's the only thing I know of that can cause what you're experiencing. I use shadowcasting spotlights without gobo maps all the time.


RE: Shadow Lights (Again) - TimmayIsHawt - 08-14-2011

Uh... I'm using a spotlight. I just want it to cast a shadow. Even without the gobo it doesn't work. D:


RE: Shadow Lights (Again) - palistov - 08-14-2011

I understand that. If you're using a box light across your map, switch its blend function to Add. If it's on Replace, your lights won't show up. If you're not using a box light, then you're having some other issue. In that case, try deleting and re-creating the spotlight in question.


RE: Shadow Lights (Again) - TimmayIsHawt - 08-15-2011

Hmm... okay I tried recreating it. It didn't work. I don't understand wny it's not working, I mean I did everything I did when I first created it.