Advertisement Jump to content
Sign in to follow this  
dgi

Shading

This topic is 813 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys ,

I'm making this simple 3d game and it's important that every region of the scene is visible.I'm trying to figure out what shading model would be perfect for this task and I really like how the objects are shaded in blender.

 

Now I'm doing ambient + direct light diffuse  but there is some dark regions and I don't like that . I want evreything to be balanced  .

 

I guess they use the same model but for light direction they set the camera "look at " direction.

 

Thanks ,

dgi

Share this post


Link to post
Share on other sites
Advertisement
You could create a directional light source and update it's direction with the camera's lookat vector (like you said). Then you would have a similar approach.

Share this post


Link to post
Share on other sites

Maybe shadow casting (stencil or shadowmap), SSAO  and fog. Ambient occlusion images looks quite clear. I have attached an small render (raytraced, but gives a clue).

 

Edited by mawigator

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!