I Made A Fully Ray Traced Game
Вставка
- Опубліковано 19 кві 2024
- To try everything Brilliant has to offer for free for a full 30 days, visit brilliant.org/Acerola/ you’ll also get 20% off an annual premium subscription! #ad
Acerola Jam has ended and I was actually participating the whole time! I made a fully ray traced solitary confinement simulator with a realistic sun cycle driven by real world time. I made everything from the shaders to the materials to the music. The only thing I didn't make is the skyboxes.
Buy a poster!! acerola.gg/
Check out the top 10 and honorable mentions here:
• Acerola Jam
Check out all the submissions here:
itch.io/jam/acerola-jam-0/ent...
Play Philokalia: itch.io/jam/acerola-jam-0/rat...
Support me on Patreon!
/ acerola_t
Socials:
Twitter: / acerola_t
Twitch: / acerola_t
Discord: / discord
Github: github.com/GarrettGunnell/
topics covered: how ray tracing works, ray geometry intersection functions, basic music theory, calculating the position of the sun
References:
web.archive.org/web/202309290...
www.sciencedirect.com/science...
Music:
Afternoon Break - Persona 3 OST
In A Moment's Time - Skullgirls OST
Junes Theme - Persona 4 OST
Judgement - Sonny Boy OST
This Mysterious Feeling - Persona 3 Reload OST
Fearful Experience - Persona 3 OST
During The Test - Persona 3 OST
Midori Eyes - Paradise Killer OST
Police Station - Persona OST
With Renewed Hope, We Continue Forward - VA-11 Hall-A OST
Layer Cake - Persona 5 OST
Every Day Is Night - VA-11 Hall-A OST
A New Frontier - VA-11 Hall-A OST
Aria Of The Soul - Persona 3 OST
Sandgem Town - Pokemon Diamond OST
Like A Dream Come True - Persona 4 OST
Thanks for watching!
This video is dedicated to my friend, Alotryx.
#acerola #gamedev #unity3d #graphics #shaders - Наука та технологія
To try everything Brilliant has to offer for free for a full 30 days, visit brilliant.org/Acerola/ you’ll also get 20% off an annual premium subscription! #ad
why did you not talk about the games in the jam tho? i'm assuming that video is still in the works?
@@oowaz I had barely enough time to finish all of this for today so I ended up not having time to write and edit a section on the games for this video, and I think the 4 hour stream they got was going to be plenty of talking about it. You can see the vod, trailers of the top 10 games, and community favorites in the acerola jam playlist on the channel page.
@@Acerola_t oh, i'll check it out, thanks!
i will buy it
You broke my zoomer brain into watching an add by adding your cat with Persona 4 song alongside it Σ :3
Fun game from Acerola would be a real subversion of expectations
Nah, the real subversion to the expectations were the friends that we made along the way
@@MrTda23rd6Don't you mean the friends we made along the ray?
I think he was trying to make sure not to win, while still making something interesting
Why would you burn our boy like that?
@@lawamoli underrated comment
The real abberation here is all the work put into the ray tracer, only to use a point light for 90% of the room.
maybe the real abberation is the friends we made along the way
yeah but imagine how much better it'll look when the path tracer vid comes out
@@Acerola_t WHEN!!
@@Acerola_t well now i'm looking forward to that
@@Acerola_t path tracing in real time?
"game where you play as a roomba" would make a great idle game. Let me buy upgrades for my roomba. Put my roomba through progressively more dire circumstances.
Check out Leaf Blower Idle
sounds like leaf blower revolution lol
i love this idea
And make it scream like Michael Reeves did.
"you collected 500 pounds of dirt, level up!"
Man, I love the solar azimuth formula that renders circumstantial treatment unnecessary without compromising mathematical rigor: mathematical setup, application, and extension of a formula based on the subsolar point and atan2 function
All my homies love the solar azimuth formula that renders circumstantial treatment unnecessary without compromising mathematical rigor: mathematical setup, application, and extension of a formula based on the subsolar point and atan2 function
you know whats crazy is that i was reading the comments while listening and he started saying this like right as I started reading this comment, it lined up perfectly
@@puddle.studiosits crazy how often stuff like this happens to me on here
The solar azimuth formula that renders circumstantial treatment unnecessary without compromising mathematical rigor: mathematical setup, application, and extension of a formula based on the subsolar point and atan2 function got me through some dark points in my life. 10/10 would recommend
Acerola is truly in his SAFTRCTUWCMRMSAAEOAFBOTSPAAF era
It was fun solving the puzzle. I actually live in Toronto, Ontario and have never been to Oregon!
you should've lied it would be funnier
@@Acerola_t based
not a musician but i'm glad you went into the music composition process, something that's often overlooked in game dev. also, nice succession theme rendition :D
Oh boy I wonder how he got the indirect lighting to look so nice.
Acerola: "I just put a point light in the room to fake it"
MOTHERFU-
i love that vertical look isn't clamped, so you can roll your head completely upside down
"im going out on my own terms!" *snaps neck*
Gimbal lock incoming xD
Oh, I thought you'd add Rayleigh refraction for accurate sunsets/sunrises
it's a game jam give me a break ok
@@Acerola_t i thought you did a rayleigh scattering shader already
@@chickennugget481 that was a really different context, Rayleigh is used in many contexts and an atmospheric scattering shader will work a bit diff from a smoke grenade voxel scattering shader, structurally speaking
now thats what you call "Ray Tracing"
fairly certain the unity skybox also just does a very basic sunset situation
I really liked the music theory presented the Acerola way 😄
thank you!
@@Acerola_t im a huge music theory nerd and i absolutely love your videos, i'd absolutely love if you made more music theory videos! possibly on a second channel if you're worried about losing views or something. the way you present information is amazing and if that was combined with more music theory stuff i'd die instantaneously /pos
@@tea-ultraviolet i will never get used to the fact that /pos means positive. idk who thought that was a good idea
@@tea-ultraviolet once I learn more I will for sure, this vid covered pretty much all I know atm lmao
100% I started playing a bit of guitar, learning only tabs, and occasionally dipping my toes into theory. Despite going into this video exclusively for classic Acerola wizardry, I was super invested on the music theory section.
You might like the game Menagerie II: Presentable Liberty, it does pretty much what you described with the single room and a door that gets you various items
there truly are no unique ideas i rly thought i had something here
Rip wertpol
Yeah, it's hard to find a truly unique idea.
But it's much easier (but still HARD) to pull one of those niche concepts into the mainstream.
What works, and what doesn't isn't just a matter of concept. A well refined niche idea might just be the next hit... spawning dozens of clones etc.
Throwing "dumb" ideas at the wall till something sticks for whatever reason is the origin of plenty of mainstay series/ genres.
blast from the past! I remember when that was the indie game du jour on youtube....
I love this game and it's prequel, broke my heart when Wertpol passed...
I had a great time, and really appreciated everyone's response to my game. It was my first time making an actual game, after spending years of making music and non-interactive video art using code.
17:44 oregon jumpscare
Should've added 24 realistic rain to the game, would've made it more immersive. Or I guess in Bend it's either 110 or a snowstorm
@@James-vw9yy fetch weather data from the national weather service & simulate that in-game
@@1e1001 While you're at it. May as well add realistic particle simulation for the clouds, and add interference with the light rays. If it is only one room, the goal should be to make the framerate ONLY barely functional.
Woh-o-o-o Ah~
Woh-o-o-o Ah~
Oregon Jumpscare!
Oregon Jumpscare.
I did not expect a picture so close to me
that cat during the sponsored part is just genius
Fr, it was the only reason I watched the whole part.
So far, it's worked on me every time, I'm surprised I've never seen it before.
Just a note for the music; the F# is actually present as the second harmonic of the B already (if you play just a B on a piano, you can actually hear an F# ringing pretty strongly). So the resolution ends up being more a balance change than a resolution. But a cool idea!
Dude, I skipped your videos for a few monts and damn, I see huge progress from working out, keep it up!
to be fair i havent put my face in the past few months of videos lol, thanks!
17:15 been writing a meteorological program recently and I'm in the opposite boat with research. I good simple titles like "Test of helicity as a tornado forecast parameter" by one of the most prominent supercell researchers literally named Davies-Jones but I can only find these papers being referenced in other papers and I cannot find them on the website of the publisher or even places like sci-hub
I gave this a fair shot.. indeed, impossible to find without an account of some sort. Really nice that public research from 1990 is still pay-walled...
I would just email the man directly, I'm sure he'll be happy to hear how his research will be applied. People usually share their articles for free if you just ask them.
@@leeroyjenkins0 Hey, at least the authors are getting paid, right? 🙃
@@c0d3r1f1c at least the authors are making 5% from the sales, which is still more than 0 if you think about it!
I hate paywalled research x.x
@@c0d3r1f1c No, publishers pay them peanuts.
Hey man, I have a nice resource for you! Try research rabbit! It's a tool to graphically explore networks of citations, makes combing through stuff a lot easier. G'luck!
Substance Painter really isn't the tool you want. Painter is mainly for texturing of complex objects to have worn edges etc.
If you want to create materials then Substance Designer is the go to tool.
i Can not believe that this game dev youtuber has explained Music theory better than like, ANY tutorial ive watched. YOU ARE INSANE! Amazing work.
Omg i'd give up so much for an full on Acerolla music theory tutorial. I wanted to get into music making, but all the tutorials i've been coming across are kinda hard to comprehend imo. Your teaching style would be perfet, and i imagine i'd finally be able to understand everything
You really don’t need music theory to start, absorbing what you can and learning as you go is a good idea :)
If what you make sounds good without music theory, it can’t sound worse with music theory (unless you get too caught up in rigid theory)
My recommendation would be to pick up composition software or a DAW and just start creating, it’s fun and it’s a good start :D
@@HA11EYS_COM3T Thanks for the encouragement! But I've already been doing that for a year or so, and I find it really difficult to do make music without any knowledge. I plainly don't know where to start, what kinda notes should I play and when. So most of my tracks were really frustrating to make, since I just put stuff semi-randomly until it sounds good, which takes a while, and it usually doesn't even sound all that good. I've picked up a class yesterday tho, and it's already helping me a ton!
This is so cool, I loved the music theory section. Your piano skills are seriously impressive too
I wanna make clear that in the industry the soft to create materials is Substance Designer . Évent if it possible to make them in Painter, Painter is more used for baked textured object .
Super video tho 👍
New Acerola upload, I am now in joy
I really wanted to participate in the game jam, but I've been overburdened with uni and work. Congratulations to the winner!
I'll be sure to participate in the next one, it was really cool seeing people step out of their comfort zone
I played The Coffin of Andy and Leyley for the first time earlier today. I eventually managed to get that... experience?... out of my brain for a few hours, but upon watching this video and hearing the kind of game you made, suddenly it's all rushing back. I blame the Baader-Meinhof phenomenon.
You should've made a console to be able to mess around with all the features you've made! Ex. Control over the timezone used, visible light paths and stuff like that. It would also explain why this project is so unique.
yeah, kinda goes against the intended experience though and I unfortunately am pretentious enough to care
As a nerd programmer, you would likely have more fun with adobe substance designer than painter
Tbh I wouldn't call this a "fully raytraced game". It doesn't feature reflections, global illumination, or shadows with variable penumbra.
it is literally the ray tracing algorithm. I demonstrated reflections they just weren't utilized and i explained that global illumination and soft shadowing is a feature of path tracing an extension of simpler ray tracing. So just cause you wouldn't call it that, doesn't mean you're right lol
"layering a bunch of noise functions"
music is layer cake
acerola, you've done it again
babe wake up acerola did something really impressive again
Checking on Acerola every so often to see what Monogatari easter eggs have been snuck in this time.
You are an absolute genius… mixing a sponsor spot with unskippable cat footage is next level stuff.
"What's the rendering equation? ...I don't know" got me lol
For anybody who's wondering, it's the formal mathematical way of saying "for our particular viewing angle of a particular surface point, add up all light which comes into the surface from any direction and happens to bounce towards our viewing angle".
That sum of light is written as an integral, because integrals are how you sum an infinite number of infinitely small things. In practice, integrals are usually approximated by summing a *finite* number of chunky things. You may remember from high-school calc, approximating the area under a curve by splitting it into rectangles and summing the rectangles' area together. Similarly, in a ray-tracer we trace a very limited number of incoming light rays, and assume each one covers a fairly broad cone of incoming light directions hitting a broad patch of surface. You get better approximations, a.k.a. more realistic graphics, if you increase the number of rays and decrease the effective size of each one (or decreasing the size of the surface patch, by increasing resolution), so that you're not glossing over so much detail. The integral is defined as the limit as they become infinitely thin, and infinitely numerous, impacting an infinitely small surface.
The inside of the integral, describing the amount of light coming in from a particular direction and then bouncing into your eye, depends on a number of factors. Each of them is pretty intuitive once you understand it (for example, one term is the dot product of the incoming direction with the surface normal, because less incoming light is able to hit a surface area if that area is rotated to be thinner from the light's POV).
nah ok but that is actually a super cool concept i love it. speedruns gonna go crazy on this one.
actually playing as a roomba looks fun
In college I had a project where we built little robot cars that drove themselves around avoiding obstacles using three IR distance sensors, not too different to how a Roomba works, minus the front bumper.
I'm imagining a game where you have to navigate a 3d space, you don't have a 3d view, your only visual is three dots on the screen, shaded to represent the distance to the nearest point directly in front of you, and two offset by a 30 degree angle on either side. Maybe another visual element could be a top down map of your path showing where you've been already so you can double back or predict where things might be in the room.
Now I actually kind of want to make this, lol.
Take it into space, and you'd be one step away from Viscera Cleanup Detail.
I love how suddenly in depth the explanation goes for every piece of the game.
That was a really good explanation of the music process. Your extremely talented and really good at teaching.
This is the type of content that makes me just want to sit down and MAKE shit, I love it so much, posters are rad too
Another banger as always. I'm currently trying to build my ray tracer from scratch, so this is a huge inspiration.
It's kinda surreal seeing you cover music theory, something I'm passionate about. Very well explained! As for my favorite chord, it's Fadd9 ^w^
Been loving your content! I'm not great at math, much less computer graphics, but you make your content very entertaining and pretty easy to follow! Keep it up! Might join your game jam next year :D
I just wanted to say your skill at explaining very dense concepts very quickly is really incredible :)
Even for 5 months, that piano progression is pretty amazing
Almost 1000 games is huge!
thanks for the music lecture. also cool idea for the music in game!
Very nice. The music portion I found very captivating, first with the implementation of events happening on minutes and hours, but also for the explanation of chords that's the clearest I've ever heard as a non-musician.
Somehow this demo reminds me of the "The Room" prototype by Peter Molyneux back in 2005... the aspect of time was quite important in that game and you could wind or rewind the wall clock to make the hours pass and the days go by, and the light reacted accordingly.
it's impressive how simple your music theory explanations are
your content is literal gold and to be honest i really appreciate all your effort
keep it up
the music playing in the background of the music theory section only serves to add to the existential dread of the game. Genius
Yoooo I just started watching Succession, and your performance freaked me tf out. This rocks, thanks dude!
this video was great again, love your videos, learned so many things and was entertained.
But Acerolaaaa... Your music theory section is the most informative and understandable music theory video i've seen on youtube ever and i want you to make more!!
Already excited for Jam 0.1!
music is good when it has a purpose and you definitely did that. i loved it
i can't believe you tried to distract me from your ad by putting a video of your adorable cat next to it, and baited me to watch it by introducing it in the scene right before. How devilish! You almost got me! I know all about Brilliant now!
I really appreciate you putting that cat video side by side with the ad.
That piano section was actually insane. Also love the tanaka's amazing commodities reference at the end
Hey just wanted to say that your content is awesome, keep up the great work :)
This video will be a goldmine for future BUAS students. Jacco will be proud.
🎉 ANOTHER banger, Acerola!
This is such an amazing channel, man. I can't get enough, lol.
Its substance designer, painter is for painting materials, usually made in designer on models.
This is the only youtube channel where i would never skip the ad part, godspeed you absolute chunky fluff, it's an infinite source of entertainment.
6:12 that's why I say that in videogames its the eye that emits light, and the lamp sinks light.
that game jam was real good
The overall concept of your game (especially the randomized death date) reminds me of an old art game called The Graveyard by Tale of Tales. In it you play as an old woman visiting a graveyard, sitting down, thinking about things for a while, and then leaving. You can repeat this as many times as you want. In the paid version, she may randomly die during a visit. I seem to remember that if you try to start the game up after the old woman dies she won't be there for future visits, but I can't confirm that.
Every frame is an aberration, because it may never be rendered again. I love it.
Love your vids man. Only suggestion would be to feature the game footage more. You spent a long time building up and then the game shown was about 2 seconds. It would be a bit more satisfying to see a bit more exploration.
Never thought I'd learn ray tracing and music theory from the same 25 minute video. Graphics programming enthusiast & musician here.
Wow, I've been learning piano for a year (first instrument!) and I'm so amazed by your progress! I have a lot of practice to do it seems 😅
okay hear me out, for the next game jam, make a game, that's just a cube, except everything is hyper realistic, so the cube is made up of a bunch of atoms, each atom is calculated, and you also calculate the light how light works irl instead of the less intensive version, and as a bonus maybe calculate every other law of physics as well to perfect precision, even if it's something scientists haven't discovered yet, just figure it out
You should make more music theory stuff, it's actually so simple and easy to comprehend when you present it...
Since we're on the topic of ray-tracing, have you heard of the game Mirror Drop? It was made when ray-tracing usage in games was just starting to take off and uses ray-tracing to create seemingly infinite repetitions, perfect reflections, and non-Euclidean geometry
The music theory really made me want to see you tackle sound ray tracing
Thanks for the music theory and cat footage
Awesome stuff! Now that you have this + your scene voxelization from the CS2 smoke... have you considered how you might do a voxelized GI solution? Cone tracing? Seems like you are on the cusp of having a nice little GI solution for your games.
Now I kind of want to see a game with full path tracing, but where light applies after movement, so you can move your mouse around but everything will be very blurry and then when you stop moving it starts rendering more and more (like how Blender gets all pixelated for large scenes)
21:40 this being the main notes of the DDLC Sayo-nara OST made me pause, I never realized it's just a C major, A minor arp.
Damn, gives me the biggest flashback on that sun position calculation for an essay on solar panel effectiveness.
I really think you should continue the game idea and add the out of scope parts. Sounds like a good experience that would make a great content game.
did not expect to understand suspended chords from a gamedev video, thank you
This is exactly what's wrong with the gaming industry today. All this focus is on fancy graphics like, super realistic rendering techniques, absurd resolutions you'd need a magnifying glass to distinguish, and frame rates that even high speed cameras struggle to capture. But we've lost sight on what's important, what truly matters. The gameplay.
Nice amazing commodities segway. Grats again on the jam completion, you did a great job and a lot of the entries were awesome!
this video literally came out the same week we covered these concepts in my computer graphics class
You gotta make it path traced now tho ;)
(I would love to watch the 2hr+ video detailing the adventure)
thanks for explaining the music part, i'm completely musically incompertent but you managed to make it kind of click
I've seen the equation of time in a spreadsheet published by NOAA. I used it to build a clock that always shows 6AM at sunrise and 6PM at sunset.
if u don't know that song plays Acerola on 20:11
it's succession theme song
played so poorly it doesnt get content id'd B)
Oh my god thank you. I was like pulling my hair out trying to figure where I heard it and why it felt so familiar.
Computer Science is amazing man 🔥 great work 🙏🏼
Aceswola - mans been working out! amazing video as per usual ace :)
Entered the video looking to learn about ray trace, ended up becoming Beethoven.
How did you slide in the best music theory explanation I've ever seen in the middle of this video broski
OMG the cat video during the add was a brlliant move. Love that kitty
sheesh, my planning was sitting at a bar with my friends with a drawin app, sketching out an idea for how the game would play
Thank god I finally know the difference between ray tracing and path tracing
Would have been cool to look out the window watching grass grow. And the Roomba puttering around keeping things tidy. lol
I just love the screenshoted red-ish arrow ↗
I'm not entirely unconvinced Acerola genuinely tried to make a good game for his Game Jam and after getting negative feedback, he decided to make a video describing the lighting to make it seem like it was his plan the whole time.
there was plenty of positive feedback it's just funny if I make it seem like everyone hated it
this thing with the cat in the sponsorship just made me laugh like insane)
Honestly I think this is really cool, all it needs now is a 40 min Jacob geller video to go alongside it.
You could teleport the point light to the position where the sun hits the wall each frame. Not expensive at all and would look much more convincing