Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Method for getting an angelic effect


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 csliva   Members   -  Reputation: 272

Like
0Likes
Like

Posted 11 January 2014 - 01:02 PM

Hey all, 

This might need to go into the beginner section, but I believe this is the place.

 

I want to create a sphere that exudes light from specific vertices. Some areas dark, and some areas shining light back out.

 

Here are my thoughts:

Use Nvidia's cg to create specific areas of refraction or reflection

Add various lights around the sphere

 

What I don't understand:

How to create custom lights (I'm using unity 3D)

-Something with random points of emission

-spot lights with short range and acute spot angle (multiple preferably from one light object)

 

Finally, what would be the most gpu efficient solution to creating an effect like this?

 



Sponsor:

#2 C0lumbo   Crossbones+   -  Reputation: 2850

Like
2Likes
Like

Posted 12 January 2014 - 12:55 AM

I'm not sure you really want lights in this scenario. It sounds like the effect you're really after is God Rays (or Crepuscular Rays to the pedantic). Something like this: https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRLgyNYsX-MqAOZKNPOtkp89eNfKk34jn455IXA-nmG3K-uBVH9LA

 

These are often achieved a screen facing quad (billboard) with an appropriate texture on it and additive blending (see http://pixel.bnetwork.netdna-cdn.com/wp-content/uploads/2008/08/8.jpg).

 

In the case where you need it to be a little more 3D, you can make God Ray shafts out of long thin quads (a + shape in cross-section works quite well) they need to be additive blended and a texture to smooth out the edges helps. 



#3 csliva   Members   -  Reputation: 272

Like
0Likes
Like

Posted 12 January 2014 - 03:54 PM

Yes. Thank you! Exactly what I was looking for. If I could upvote that answer again I would.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS