Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Casting Shadow and improving Dusk to Dawn change with Three.js #99

Open
vikasTmz opened this issue Feb 17, 2016 · 4 comments
Open

Casting Shadow and improving Dusk to Dawn change with Three.js #99

vikasTmz opened this issue Feb 17, 2016 · 4 comments
Labels

Comments

@vikasTmz
Copy link

This is a continuation from my previous issue #96 to why we could switch to Webgl.
Three.js has a property to create a Spotlight with a particular intensity, angle and location and we can then enable shadow property on required objects.

Since we have a sun in the game and a shift from day to night , the shadow casting and lighting effects can be easily manipulated with three.js.

@niccokunzmann
Copy link
Member

Can you add more hints and links on how to do this?

@vikasTmz
Copy link
Author

I'll create a separate html , js and the required headers where I will try to include the lighting effect,collision and image rendering and make a pull request.

@vikasTmz
Copy link
Author

Hey, Sorry for the delay but I noticed the features implemented in this game can be significantly improved with webgl libraries. Here's a game I made using three.js in 4 days that will show how simple and intuitive making 3-D / 2-D games can be. http://web.iiit.ac.in/~vikas.thamizharasan/vikasgamecarom.html

@abishekvashok
Copy link
Member

@vikasTmz can you work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants