Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 722 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
flashlight code in free version #436434
01/26/14 15:55
01/26/14 15:55
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
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.

Last edited by xbox; 01/26/14 15:55.
Re: flashlight code in free version [Re: xbox] #436435
01/26/14 16:29
01/26/14 16:29
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Open the advanced Map Compiler options and increase the surface tesselation (which means that you decrease the value(s)).


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: flashlight code in free version [Re: Superku] #436437
01/26/14 17:33
01/26/14 17:33
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
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.

Re: flashlight code in free version [Re: xbox] #436438
01/26/14 17:43
01/26/14 17:43
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Not with the free version/ without shaders I fear.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: flashlight code in free version [Re: Superku] #436439
01/26/14 17:58
01/26/14 17:58
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
Okay, that's what I was afraid of. Thank you though. laugh

Re: flashlight code in free version [Re: xbox] #436440
01/27/14 02:17
01/27/14 02:17
Joined: May 2010
Posts: 34
S
Scifi Offline
Newbie
Scifi  Offline
Newbie
S

Joined: May 2010
Posts: 34

Re: flashlight code in free version [Re: Scifi] #436477
01/27/14 19:07
01/27/14 19:07
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
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.


Re: flashlight code in free version [Re: xbox] #436530
01/28/14 14:43
01/28/14 14:43
Joined: May 2010
Posts: 34
S
Scifi Offline
Newbie
Scifi  Offline
Newbie
S

Joined: May 2010
Posts: 34
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.

Last edited by Scifi; 01/28/14 14:47.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1