generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Lens Flare Effect

Previous Thread :: Next Thread 
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
12 Apr 2013 12:18 AM
Recently, I got a lens flare effect to work, which makes me really happy, because I've been trying for about 2 years.

http://www.roblox.com/Virium-Corp-Demonstration-place?id=81983822

I know Oysi has already made one, so it's not *that* cool, but I still wanted to show you guys. Also, I want your opinion on the best way to use images instead of square frames.

The best way I can find right now is using image labels that have a transparency of 10%, that is, I upload an image label at 10% alpha, and then layer it to get the effect. I've done that before, and the effect is okish.

I'm hoping you guys have a better way though. :D
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
12 Apr 2013 12:54 AM
Now use local lighting hax, and make everything brighter when you look too close to sun. Will be hot.
Report Abuse
Candymaniac is not online. Candymaniac
Joined: 08 Oct 2009
Total Posts: 8985
12 Apr 2013 02:05 AM
^ Damnit you stole my idea.

I've been thinking of making some kind of lighting FX system with the local lighting h4x. :L

"No, you were not downloaded. You were born!"
Report Abuse
zac4545 is not online. zac4545
Joined: 19 Aug 2009
Total Posts: 2324
12 Apr 2013 06:00 AM
cool
Report Abuse
TeamDman is not online. TeamDman
Joined: 04 Dec 2009
Total Posts: 897
12 Apr 2013 06:04 AM
I remember Upquark did a thing that. If you stare into the sun for too long your screen would fade white then you would go blind and it turned black inside your coregui. It was pretty cool.
Report Abuse
Waffle3z is not online. Waffle3z
Joined: 15 Apr 2011
Total Posts: 266
12 Apr 2013 06:33 AM
I remember Oysi doing this a few years ago.
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
12 Apr 2013 07:22 AM
I love your GUIs. So stylish. I wish I could do that.
Report Abuse
Guarranteed is not online. Guarranteed
Joined: 06 Dec 2010
Total Posts: 2799
12 Apr 2013 07:23 AM
Very nice Quenty :D
Report Abuse
vat21s is not online. vat21s
Joined: 07 Jun 2010
Total Posts: 2508
12 Apr 2013 07:32 AM
its Awesome O_O MIND BLOWN
Report Abuse
veerstrong is not online. veerstrong
Joined: 23 Jun 2009
Total Posts: 2450
12 Apr 2013 08:53 AM
E981 made a really cool lens flare effect.

~One must risk everything to find the truth. Even if the truth isn't what you want it to be, it is better than living a lie.~
Report Abuse
HEAT507 is not online. HEAT507
Joined: 31 Aug 2012
Total Posts: 429
12 Apr 2013 09:15 AM
gimme dat nice juciy h4x
Report Abuse
Candymaniac is not online. Candymaniac
Joined: 08 Oct 2009
Total Posts: 8985
12 Apr 2013 02:12 PM
@Arceus;
*ahem* Glass. :3

"No, you were not downloaded. You were born!"
Report Abuse
buddy249950 is not online. buddy249950
Joined: 30 Jun 2016
Total Posts: 3536
12 Apr 2013 02:36 PM
Nice. I wish I could do that.
Report Abuse
pauljkl is not online. pauljkl
Joined: 23 Oct 2008
Total Posts: 9364
12 Apr 2013 02:48 PM
Just a small thing that is a bit off is that you still get the effect when you stand close to parts but cannot see the sun, but yeah, seems great so far
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
12 Apr 2013 03:02 PM
Also you should track camera, not head.
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
12 Apr 2013 04:30 PM
I am tracking the camera. The raycasting issue is where I *tried* to let it work through transparent parts. Unfortunately, I have transparent part's that have solid part's behind them.

Report Abuse
Tappier is not online. Tappier
Joined: 10 Apr 2013
Total Posts: 14077
12 Apr 2013 04:58 PM
[ Content Deleted ]
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
12 Apr 2013 05:16 PM
for transparent parts get the side the ray hits and then cast a ray from the opposite side and keep doing that until it either hits nothing or a solid part? Only thing i can think of.
Report Abuse
itunes89 is not online. itunes89
Joined: 19 Jan 2011
Total Posts: 1957
12 Apr 2013 05:34 PM
How do you know if they're looking at the sun?
Report Abuse
Swordphin123 is not online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
12 Apr 2013 05:38 PM
@itunes:

I use game.Lighting:GetSunDirection()
Report Abuse
block1431 is not online. block1431
Joined: 21 Sep 2008
Total Posts: 2927
12 Apr 2013 10:39 PM
So long as it doesn't end up like EA's patented lens flares, I'm fine with this.
Report Abuse
Candymaniac is not online. Candymaniac
Joined: 08 Oct 2009
Total Posts: 8985
13 Apr 2013 11:15 AM
^ EA has _patented_ lens flares?
What?

"No, you were not downloaded. You were born!"
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image