Skip to content

How do I turn lights on and off in RedCube.js? #21

Answered by Reon90
cx20 asked this question in Q&A
Discussion options

You must be logged in to vote

@cx20 it's possible, please call:

redcube.isIBL = false;
redcube.isDefaultLight = false;
redcube.draw();

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cx20
Comment options

@Reon90
Comment options

@cx20
Comment options

Answer selected by Reon90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants