@@rblxtutorials1881 agree, not everything needs to be a freemodel. Just do stuff yourself, the roblox engine is already easy to use compared to other game engines. That said, open source modules are still useful but you shouldn't just only use open source stuff.
@@chibisayori20 I mean, yes, it could be done by yourself, but not everyone has the time to learn about advanced lighting/rendering solutions when making a game - sometimes they want to focus on, y'know, their actual game, but still want to take advantage of a wellmade utility that vastly improves the art aspect of their game. Isn't that the whole point of open source tech? Hell, it could even be paid and not be open source, and I'd still use it personally. Especially mixed with something like Volumika, if they were compatible.
would be really cool if you could bake the lighting into a scene through a plugin so the framerate ingame would be more stable. this looks sick and I'd love to try making something similar but I don't know where to really start.
@@JourneyKid raytracing is the evolved form of raycasting. roblox's lighting engine using raycasts to tell if the light is colliding with an object and draws shadows based off the angle and some maths. raytracing is basically this - but shoot tons upon tons of these small rays, calculate their impact point, and bounce them again, till they reach the camera, where the data they carry (light info) is used to shade a pixel in the screen. raycasts on roblox are quite costly, meaning this would be a decent solution but still very expensive for roblox.
I do know of a few plugins that do this sort of GI but they aren't in real time, so this to me seems really impressive that this is interactive and running at a playable framerate. I'm not sure if this sort of thing is that scalable (for larger games), as increasing the number of voxels to fit a larger area would probably make the framerate tank.
Loved this, I've been looking into ways of doing this and never thought of probe based "real-time" GI. I'd love a deeper explanation on how you did the buffers, I've been working on my own for the past couple weeks now and only shoot out about 5 rays and calculate the color based on that.
I have a very high tech computer and it can run through realistic graphics, I would love to see builds in roblox with global Illumination and see how it would look like if it were real life.
Hi Daniel! I tried to implement this into studio on my own based off of your explanation, however, I’m struggling to create a buffer, smooth the lights and get more speed. Could you elaborate on how you fixed these issues or what types of algorithms you used? Thanks.
imo people who don't respond to comments if a video is too old/dont reply to questions asking at all are really just not good youtubers unless they have 25k+ subscribers which this person does not, and not an insane amount of comments or views on this video either, not really any of his other videos too, he could afford to reply to at least some comments on this
@@CricketChris513 they just asked a question that will be likely ignored since the creator doesn't have time for it. Not everyone has the ability to be locked eternally on this platform, unlike you seem to be.
I wish that roblox would allow us to write our own shaders and give us access to cuda even if that creates a huge security vulnerability. It would give us access to so many cool effects that are either extremely difficult to replicate or just super inefficient to run through luau.
Wonderful work! I’ve always been bugged by roblox’s lack of GI thought about some sort of ray tracing method and at least a few bounces. As far as performance goes, could you break down scenes into chunks and only update areas that contain unanchored parts, or does parallel luau not work that way?
I think i know how he coded this. The local ambients are going to change colors where ever the player is at (or the camera). The colors are going to be like, lets say your inside and the floor is purple. The script is going to copy the color and make it darker to match where you are Edit: the one i said is something a bit more simpler. I dont know how he manage to make it everywhere
He says in the video He uses a bunch of point lights everywhere, which uses single bounce raytracing to get the color and brightness they should be It didn't actually take very long for me to make something that works, and looks about the same (Though admittedly mine is a good bit slower, and the recalculations are much more visible)
ok so, i have here a script which creates a raytracing effect on every part (you can modify if you want) local ref = 0.01500000013039 -- don't change local function analyse(v) if v:IsA("BasePart") and not v:IsA("Terrain") then v.Reflectance = ref end end local function descadded(desc) analyse(desc) end for i,v in pairs(game:GetDescendants()) do analyse(v) end game.DescendantAdded:Connect(descadded) observations: must use future lighting and maximum graphics. (btw, it's not real-time, and it's SLIGHTLY noticeable. you must be indoors for the effect to work, and it's only noticeable at spheres or at edges of parts.) and the effect is not always accurate, it may show inccorect reflections. basically a poor-made shaders LOL
i should use it in my game where the map as it is (barely complete) is already laggy enough with all the details, LETZGOOO will be game be the next cyberpunk 2077 >:D
Well you use actors by inserting them anywhere. Doesnt matter as long as the script runs. You insert any type of script inside, and that script will run inside a seperate thread, so the roblox game loop runs seperately from the raytracting for example.
Incredible! However, it seems as if you have a furry profile picture. Now, to be honest, We, I, and Us are not that very fond of furries, however, your experimentation with Realtime Ray Tracing/Global Illumination is very impressive, you have gained a vast amount of respect in various departments. Again, being honest with you, and everyone, (we) (I) (us) are going to look how to improve this and try to make it better. Best regards.
@Hats The Remington Model 870 is a pump-action shotgun manufactured by Remington Arms Company, LLC. It is widely used by the public for shooting sports, hunting and self-defense, as well as by law enforcement and military organizations worldwide.
@@DriftHyena As in We, I do not mean everyone, I mean We as in speaking for a wider range of individuals, an independent company. I do envy this lighting and I was making a simple statement. There is no reason to post an unnecessary reply which holds zero value to any of this video, comment, or channel in particular.
would love for this project to be open source
its quite easy to do but yet he explains it well
he will gatekeep it so don’t get ur hopes even slightly high
@@rblxtutorials1881 agree, not everything needs to be a freemodel. Just do stuff yourself, the roblox engine is already easy to use compared to other game engines.
That said, open source modules are still useful but you shouldn't just only use open source stuff.
@@chibisayori20he didnt shoe ud hoe he got the Lightning from the start💀
@@chibisayori20 I mean, yes, it could be done by yourself, but not everyone has the time to learn about advanced lighting/rendering solutions when making a game - sometimes they want to focus on, y'know, their actual game, but still want to take advantage of a wellmade utility that vastly improves the art aspect of their game. Isn't that the whole point of open source tech? Hell, it could even be paid and not be open source, and I'd still use it personally. Especially mixed with something like Volumika, if they were compatible.
would be really cool if you could bake the lighting into a scene through a plugin so the framerate ingame would be more stable. this looks sick and I'd love to try making something similar but I don't know where to really start.
Use the lamplight plugin
@@QuixelDio holy shit thanks I didn't even know it existed
use the reply feature we dont know what the hell you're talking about, the video or this lamplight thing @@clairedcaptions
@@QuixelDio I wonder if its any good, still wouldn't look as good as real time ray tracing.
@@JourneyKid raytracing is the evolved form of raycasting. roblox's lighting engine using raycasts to tell if the light is colliding with an object and draws shadows based off the angle and some maths. raytracing is basically this - but shoot tons upon tons of these small rays, calculate their impact point, and bounce them again, till they reach the camera, where the data they carry (light info) is used to shade a pixel in the screen. raycasts on roblox are quite costly, meaning this would be a decent solution but still very expensive for roblox.
This is the most impressive Roblox demo I've ever seen!
It would be cool if it's open source!
A good way to make "fake" raytracing is by using invisible surface light blocks to mimic the light bouncing off where the light is
Clever
hello everyone! its dan here from the diamond minecart, and today!
I would love to see some of the code behind this! looks amazing
I do know of a few plugins that do this sort of GI but they aren't in real time, so this to me seems really impressive that this is interactive and running at a playable framerate.
I'm not sure if this sort of thing is that scalable (for larger games), as increasing the number of voxels to fit a larger area would probably make the framerate tank.
i wish roblox would just make stuff like this bruh
Back in the roblox 2014 hack week somebody has made those..
congrats on the ”nice reply badge” 7 hours ago, i just got mine
Do you plan to make this open source or experimental in the near future? It would be cool to tinker with it.
no
this looks amazing, wonderful job.
Loved this, I've been looking into ways of doing this and never thought of probe based "real-time" GI.
I'd love a deeper explanation on how you did the buffers, I've been working on my own for the past couple weeks now and only shoot out about 5 rays and calculate the color based on that.
I have a very high tech computer and it can run through realistic graphics, I would love to see builds in roblox with global Illumination and see how it would look like if it were real life.
Hi Daniel! I tried to implement this into studio on my own based off of your explanation, however, I’m struggling to create a buffer, smooth the lights and get more speed. Could you elaborate on how you fixed these issues or what types of algorithms you used? Thanks.
>comments question on 1 year old video
>no response
imo people who don't respond to comments if a video is too old/dont reply to questions asking at all are really just not good youtubers unless they have 25k+ subscribers which this person does not, and not an insane amount of comments or views on this video either, not really any of his other videos too, he could afford to reply to at least some comments on this
@@CricketChris513 they just asked a question that will be likely ignored since the creator doesn't have time for it. Not everyone has the ability to be locked eternally on this platform, unlike you seem to be.
@@daproczooks i have nothing better to do, im 15 and i have nothing else to do than watch youtube and play games
@@daproczooks to be fair i wasnt thinking about how other people arent 15 year olds with a lot of free time to do whatever they want
I wish that roblox would allow us to write our own shaders and give us access to cuda even if that creates a huge security vulnerability. It would give us access to so many cool effects that are either extremely difficult to replicate or just super inefficient to run through luau.
Wonderful work! I’ve always been bugged by roblox’s lack of GI thought about some sort of ray tracing method and at least a few bounces. As far as performance goes, could you break down scenes into chunks and only update areas that contain unanchored parts, or does parallel luau not work that way?
some parts move without being unanchored
of course you would say that your a furry :/
@@altiziedlover_69
@@altiziedlover_69 what are you on about 💀
@@DriftHyena sex. 😔
Pretty impressive. Certified gamer moment.
2:25 what plugin are you using to get the garry's mod undo gui? lol
Bruh is this future lighting in an nutshell
we got Roblox rtx before fixed shadows
i really hope roblox takes a look at global illumination at some point, future lighting just doesn't do it :(
Very well explained, good job.
Little does this man know that the GTX 1660 is a raytracing card.
That GUI tho...blows blender, 3dsmax, c4d, maya and houdini ui out of the water! probably the ocean!
use future lighting for more accurate shadows.
How'd you make it so.. not laggy?
Please tell me!
The lighting is beautiful and i love it
please make this public
this is epic mate! keep it up!
Was that the gmod undo notification 💀
Wow incredible! Does it also work with terrain? And terrain water?
Probably not
@@Forcoyive seen you comment in differentvideos three times now xD.
hello again :P
thats actually crazy. does this work ingame too or does it use studio-only things right now?
Probably but it's so inefficient
For Anyone wondering, there is someone making this for completely free as a engine for developers.
where
This is like zeuxcg presenting his Future is Bright projects back in 2015-2016 (older players will get it; and I wasn't one of them lol)
it would be great to have a RT core acceleration for all this
garry's mods pop ups are crazy
Impressive how people can make something like this in roblox
Would be actually interesting to see RTX in ROBLOX!
I think i know how he coded this. The local ambients are going to change colors where ever the player is at (or the camera). The colors are going to be like, lets say your inside and the floor is purple. The script is going to copy the color and make it darker to match where you are
Edit: the one i said is something a bit more simpler. I dont know how he manage to make it everywhere
He says in the video
He uses a bunch of point lights everywhere, which uses single bounce raytracing to get the color and brightness they should be
It didn't actually take very long for me to make something that works, and looks about the same (Though admittedly mine is a good bit slower, and the recalculations are much more visible)
2:29 what are you using that adds the pop-ups here?
And how did you select the floor at 5:06 when it’s part of a model
he held control + alt while selecting
True but what about the pop-ups?@@taxevaiden
WOAHHHHHH!
This looks so cool! I want this in my game!
ok so, i have here a script which creates a raytracing effect on every part (you can modify if you want)
local ref = 0.01500000013039 -- don't change
local function analyse(v)
if v:IsA("BasePart") and not v:IsA("Terrain") then
v.Reflectance = ref
end
end
local function descadded(desc)
analyse(desc)
end
for i,v in pairs(game:GetDescendants()) do
analyse(v)
end
game.DescendantAdded:Connect(descadded)
observations: must use future lighting and maximum graphics.
(btw, it's not real-time, and it's SLIGHTLY noticeable. you must be indoors for the effect to work, and it's only noticeable at spheres or at edges of parts.) and the effect is not always accurate, it may show inccorect reflections.
basically a poor-made shaders LOL
I _have_ to make something like this this is REALLY interesting
This like that evee In blender with the customized shadings
I didn't know you could use point lights to fake ray tracing, huh.
Damn this became a feature. (Future lighting)
future is a bit differ
@@GeorgesWizard Yeah but looks kinda like it not exactly but kinda
@@AnomalyfyedSince I do have at least a year of experience on roblox studio, Future does have shadows but there really isn't any light reflection.
@@GeorgesWizard Yeah ik thats what i meant with "almost" lol.
future is not ray traced
i should use it in my game where the map as it is (barely complete) is already laggy enough with all the details, LETZGOOO will be game be the next cyberpunk 2077 >:D
This looks like sonic adventures lighting solution
damn never seen something that impressive, what about the memory usage?
For my raytracer, Ram usage was not affected much. With 2k probes it only got like half a gig.
Can you open source this
As if roblox isn't cpu consuming for me enough
2:27 what plugin are you using to make that popup?
"Gmod-esque Undo Viewer", that UI is from a game called GMOD
i know that its from GMOD@@3sidedmelody, btw thx
The light is somethimes coming from the corners , can we fuse walls to fix this ?
Future lighting 101
Basically ambient occlusion is very cool
i would pay for this
Is there a way I can add this to my own games?
we got basically the same GPU (if you still have it), nice, I have a 1660 Ti
same bro
can you actually release this?
can someone make this open source so I can experiment, I don't know how to add this to Roblox
Plsss I’d love to experiment with this as someone that has been trying to create solutions for the lighting in Roblox I’d really appreciate this 😭
whats the gmod undo thingg
How do i use LuaU Actors? i find it very confusing. But could you post a video about Actors?
Well you use actors by inserting them anywhere. Doesnt matter as long as the script runs. You insert any type of script inside, and that script will run inside a seperate thread, so the roblox game loop runs seperately from the raytracting for example.
@@Nox-Music Learnt it already. There is a lot more to it to the new actor update. Thanks for replying anyway :D
Woah, now that's pretty cool.
This is fantastic!
Pretty cool stuff!
make path tracing next
How do i add this
can you make this a game
Oh my shuttle
i need to learn pararell luau
It's beautiful!
smooth shadow pleaseee
wait, ray tracing?
Yes
open source please
this is sick dawg gj
Amazing knowlegment!!!
can u release it im gonna make an game with it
Great project.
This is insane !!!wtffff
No
Oru
i want this
im making this myself
Cool
Nice
Eoj
nice
m
FURRY
No?
Furry
No way dude how did you know?!?!
yay gay tracing :D
FURRY!!!!
😈
@@JakeButAwesome wut that uhh emoji means
r u a furry
why does that matter
yea it does
@@Clinohumite
@@Iechman i said why
Incredible! However, it seems as if you have a furry profile picture. Now, to be honest, We, I, and Us are not that very fond of furries, however, your experimentation with Realtime Ray Tracing/Global Illumination is very impressive, you have gained a vast amount of respect in various departments. Again, being honest with you, and everyone, (we) (I) (us) are going to look how to improve this and try to make it better. Best regards.
bro who cares what his pfp is. were here for the video
@Hats The Remington Model 870 is a pump-action shotgun manufactured by Remington Arms Company, LLC. It is widely used by the public for shooting sports, hunting and self-defense, as well as by law enforcement and military organizations worldwide.
Lmao, “we”? You don’t speak for everyone.
@@DriftHyena As in We, I do not mean everyone, I mean We as in speaking for a wider range of individuals, an independent company. I do envy this lighting and I was making a simple statement. There is no reason to post an unnecessary reply which holds zero value to any of this video, comment, or channel in particular.
Bro how tf are you this much if a weirdo
Can you make it open sorced