flashlight code in free version

Posted By: xbox

flashlight code in free version - 01/26/14 15:55

I am making making a fun little horror game and I am in need of a flashlight. I have looked through the Aum's and found the code it provides and the code works great, however the light is horrible. I know it is possible to make a great flashlight with shaders, but I'm using the free version. Is there any way to make a flashlight that works better than this...


through past experiences I know it looks better with the more faces it reacts with, but I don't want to make four walls made of 100+ cubes just to get a decent light effect.
Posted By: Superku

Re: flashlight code in free version - 01/26/14 16:29

Open the advanced Map Compiler options and increase the surface tesselation (which means that you decrease the value(s)).
Posted By: xbox

Re: flashlight code in free version - 01/26/14 17:33

Thank you for your quick response Superku, I did as you suggested and put the values as low as i could until the compiler crashed and this is the result.

Is it possible to do anything else, because I'd hate to sound like a pain, but this still isn't good enough.

Thank you for this information though regardless.
Posted By: Superku

Re: flashlight code in free version - 01/26/14 17:43

Not with the free version/ without shaders I fear.
Posted By: xbox

Re: flashlight code in free version - 01/26/14 17:58

Okay, that's what I was afraid of. Thank you though. laugh
Posted By: Scifi

Re: flashlight code in free version - 01/27/14 02:17

http://www.coniserver.net/coni_users/web_users/pirvu/aum/aumonline_e/your_contributions_3_2_2.htm

Have you looked here yet?
Posted By: xbox

Re: flashlight code in free version - 01/27/14 19:07

I searched the AUM but never found that, Thank you!

However has anyone tried this demo? I run all four scripts, but the projections are inverted it seems. What is supposed to be "shadow" is completely transparent and what is supposed to be not a shadow is black.

Posted By: Scifi

Re: flashlight code in free version - 01/28/14 14:43

trying to use the img tag but it doesn't work with dropbox somehow

Sorry for my bad English...

Are you using an integrated graphics card? They might have problems rendering those projection textures. Just tested on my GeForce 610M, it worked just fine:
https://www.dropbox.com/s/e7v6eki3hlxv8xw/test1.jpg

But after I switched to my Intel HD 4000:
https://www.dropbox.com/s/nqph7m3zokq80gs/test2.jpg

This sounds like a stupid idea, but...why don't you invert the colors of the projection textures using an image editor, then in the game you throw some graphics checking functions, then decide to use the original projected texture or use the inverted one..That should solve the problem with integrated cards.
© 2024 lite-C Forums