evanw / evanw/lightgl.js

How to get Shadow Maps with Static Colors

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.6k
Forks
149
PR merge metrics
No merged PRs in 30d

Description

My primary goal is to create an isometric scene using lightgl.js with lighting and shadows. I've been trying to use the shadowmap.html example as a starting point. However, I'm not quite sure how to get CSG.setColor to be drawn accurately. Any ideas on how I can set solid colors without all of the current variance? Are there any more basic examples or more basic shaders I can use?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.