MarianG Posted March 14, 2018 Share Posted March 14, 2018 Hi. I know that there is a limit of 4 lights but can I avoid this? :)) I have a ground and 8 different draggable spotlights, just this One idea was to slice the ground in two pieces, but these spots are draggable and ca light on both ground pieces. JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted March 14, 2018 Share Posted March 14, 2018 This is an old limit we do not have anymore http://doc.babylonjs.com/babylon101/lights#limitations JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
MarianG Posted March 14, 2018 Author Share Posted March 14, 2018 Thanks. So no options on this way... Maybe a custom shader? I have a headache only when I think on this Quote Link to comment Share on other sites More sharing options...
Wingnut Posted March 14, 2018 Share Posted March 14, 2018 I think 8 is ok. But I seem to hit a wall at 11. 10 or under... let's party! (in FF 52 ESR) errr... something. https://www.babylonjs-playground.com/#IRVAX#64 MarianG and JackFalcon 1 1 Quote Link to comment Share on other sites More sharing options...
MarianG Posted March 15, 2018 Author Share Posted March 15, 2018 Interesting, so the limit is 4, but we can increase it till 10. Good to know. Thanks Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted March 15, 2018 Share Posted March 15, 2018 if you have salon or Regular successive lights i think you can make ultimate lights ( no shadow ) for your material Quote Link to comment Share on other sites More sharing options...
Wingnut Posted March 15, 2018 Share Posted March 15, 2018 ...on SOME platforms. Notice the "beware" in the docs link that Delta provided. Can I assume you are male, MG? ('Marian' just like John Wayne's real first name?) Cuz, really, all mobile devices are made for girls and gimby-doodles. No John Wayne-like real man.. would ever want to use one. When REAL men go mobile, they take a desktop, a generator, a couple cans of gas, and an Army-like Jeep. Now THAT'S a mobile device! Waiting for girlie devices to get enough power to be anywhat useful... really made the computer industry do a tech-backslide of about 25 years. There's probably about a quadrillion mobile devices (including remote controls, game controllers, and wireless mice) already in the dumps, and the numbers keep growing. Manufacturing limp, non-upgradable, non-repair-able things... is never a good idea. Mobiles are the Bic lighter of the electronics world. Use for awhile, then throw it in a dump where it never bio-degrades. Brilliant. Plus, folks have spent SO MANY HOURS de-powering great software... so it runs on a walkie-talkie-like mobile handful of garbage - terrible. Damn, that's some gruesome bashing, eh? I need to do that sometimes... to make sure I'm still alive. I'm just joking-around, of course, but not really. Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted March 15, 2018 Share Posted March 15, 2018 this sample have 256(16*16) light on one salon http://bomb.5kb.me/ Wingnut 1 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted March 15, 2018 Share Posted March 15, 2018 @MarianGthis also got me. @DeltakoshThanks for the very nice clear answer. @Wingnut was a big help when lights stopped at 10 a year back... with various lighting experiments (kudos +1, thx). Disco ball is a classic. And prior ones great too. <JOKE removed>. @NasimiAsl, 3Dbomberman is great. Much better than the original. NasimiAsl and Wingnut 2 Quote Link to comment Share on other sites More sharing options...
MarianG Posted March 15, 2018 Author Share Posted March 15, 2018 10 hours ago, Wingnut said: Can I assume you are male, MG? Yes 10 hours ago, NasimiAsl said: this sample have 256(16*16) light on one salon http://bomb.5kb.me/ Nice @NasimiAsl. Can you please point me to the light section on your code, or maybe a little playgroung extremely simple will help alot. Thank you. Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted March 16, 2018 Share Posted March 16, 2018 sure https://www.babylonjs-playground.com/#M3CBYN#1 https://www.babylonjs-playground.com/#M3CBYN#2 final https://www.babylonjs-playground.com/#M3CBYN#6 specular is a little heavy MarianG and Wingnut 1 1 Quote Link to comment Share on other sites More sharing options...
MarianG Posted March 16, 2018 Author Share Posted March 16, 2018 Cool. Thanks Quote Link to comment Share on other sites More sharing options...
Wingnut Posted March 16, 2018 Share Posted March 16, 2018 That's a LOT of friggin' lights! hehe. Cooooool. My dog got scared, but I didn't. Not yet. thx Naz! @aFalcon I think the truck-in-pocket joke was worth keeping active. It could promote on-going "big pocket jokes" heh JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted March 16, 2018 Share Posted March 16, 2018 Wow, a dance floor to go with a disco ball... Wingnut 1 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted March 16, 2018 Share Posted March 16, 2018 @Wingnut Ha! I bet it is easy to sequence colored lights up spiral of a fibonacci curve or something like it. Color3.random(); Quote Link to comment Share on other sites More sharing options...
Wingnut Posted March 16, 2018 Share Posted March 16, 2018 But to get the true rock show effect... they gotta be spots... and they gotta have fake-volumetric smoke wafting thru their beams... using cones and fire/lava texture. http://playground.babylonjs.com/#2IGNZ2#4 Now, ya do them big spot-array pans/tilts... to the beat of the music... 40 spots move here, 60 spots move there, and of course... you'll need a huge GUI lighting control/show-programming console... which uses its own script language... likely with Wingy's world famous spin/spinTo/move/MoveTo funcs. They are now script commands for your programmable lighting controller console. I predict 2 FPS. And just for fun, make it so if you aim 100 or more lights, full power, at a mesh... it starts on fire. COOOOOOL! heh Speaking of Fibonacci, didn't @jerome say something about building us some Phi-infested conch shells and pine cones... using BabylonJS ribbons? hmm. Perhaps it was someone else who said that. JackFalcon 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.