jwagonr Posted February 2, 2016 Share Posted February 2, 2016 Is there a way to setup a ShaderMaterial such that it will be passed the uniforms for all the lights within the scene? I'm looking for something similar to the ShaderMaterial.lights property from three.js (http://threejs.org/docs/#Reference/Materials/ShaderMaterial). If the babylon ShaderMaterial does not support this is there any recommendations on the best way to share the scene lights with a ShaderMaterial? Thanks. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.