Загрузка видео...

Не удалось загрузить видео

На главную

Day 23 of how I vibe code my game engine in Cursor: Unit Sprites Like I mentioned in my buildings post: units hit the same wall once the animation steps outside the sprite’s inner silhouette. That’s where the pain starts: pixel bleeding, halos, and PBR maps becoming impossible to...

121,234 просмотров • 5 месяцев назад •via X (Twitter)

Комментарии: 0

Нет доступных комментариев

Здесь появятся комментарии из оригинального поста

Похожие видео

As a graphics engine coder I think when you look at a flickering bug like this one in the video below it’s not immediately obvious what is going on. The key here is observation - to study this flickering/bugged render carefully - what do we see? Firstly for me it was very obvious that nearly all of the scene shadows were flashing on and off - but (but!) there was a secondary issue where some buildings and parts of the sky were also flashing purple. Hmmmm. Interesting. I initially thought then this might be two separate bugs - but because the sky purple element could only based on full screen post fx and not 3D rendering I looked at this first with a few GPU captures to step through all our post processing to find the rendering stage which made these pixels turn purple: When I did this I found the colour 3D texture LUT grading that makes our different biomes have unique colour palettes was going very wrong - colours near 0 or 1 were wrapping and making the purple elements that we see in the said sky and base parts. The only way this could happen was if the texture was corrupt (which it was not) or if the 3D texture sampling was wrapping and not clamped as intended. That was the Eureka moment - because if the post fx had the wrong texture sampler then the disappearing shadows which also require an exact texture sampler for comparing depth might be also wrong because of the same kind of texture sampling issue! So with this idea that the engine was using the wrong texture samplers, but only in very high draw call scenes like the big base here I the looked at some engine limits and found the bug very quickly - a circular dx12 descriptor buffer for samplers running out over multiple frames, reusing the wrong data for new scenes inflight. Hence the flickering, as the GPU randomly got wrong samplers for some post textures or shadow depth. Easy to fix with triple limits for future expansion and also adding an assert/debug spam in case this limit is ever reached again - QA testers would see this message and report if they ever saw a flicker with this style of bug. My bug and my bad from 2017 porting NMS to DX12 without foreseeing how massively complex bases and our game would grow.

Martin Griffiths

72,701 просмотров • 1 год назад

I built a clone of the Yeezy store with Next.js. This was a fun challenge — the site has some smooth animations and feels very fast. But it was bothering me that I couldn't use the browser back button. Can we do better? So I rebuilt the site with v0 and Motion. Here's how it works: 1. When you click on a product, Motion is able to animate the original position of the product in the grid, to the zoomed in product detail page. 2. During this transition, we also shallow update the URL with the `/p/slug` route for the page. 3. If you press the back button in the navbar, or use the browser back button, or press escape — all options will take you back to the main product listing page. 4. If you reload the page while looking at a product, or someone sends you a link to a specific product, it still works! This is the best parts of a SPA and MPA mixed together. In the future, I can make this even better with View Transitions (I wasn't able to get the product animation just right, but if you can I'd love to see it!). I also took some creative liberties from the original design. The whole 1/2/3 size thing, where you needed to click the "?" to see SM/MD/LG was strange, so I just went directly to those sizes. Similarly, I prefered the more traditional style sheet/modal with the background color change, versus the full screen takeover. If you wanted to actually hook this up to Shopify now, you can swap the cart implementation with Next.js Commerce, which has all the APIs you need + optimistic writes 🔥 Should I make a video walking through the code?

Lee Robinson

148,840 просмотров • 1 год назад

I know this post is a little late but I was blessed enough to spend ur whole birthday with U and we’re still celebrating 🍾🥂💃🕺 Our bond is so perfectly matched in the most organic way. I kno it was God that brought us 2gether. If ppl only knew how big of a role u play in my life and in my career. If they only knew ur a big part of the reason the beehive is getting new music right now. U are my motivation and that voice that is always cheering me on. Ur so intelligent and such a boss. If they only knew the things we figure out 2gether, how we can talk with our eyes and be on the same page. How we are each others rock, the late night talks, the gut wrenching laughs we share, the arguments, the debates. U get on my nerves sometimes 🙄 😩 but it also brings me great pleasure to annoy u cause I’m annoying 👋 Hi Even after I annoy u, u always give me the biggest smile. Which if anyone knows u, they know that u barely do and that’s why it makes me so happy to annoy u 😹 😻 It’s so weird how we became so close because it happened out of nowhere but I’m really proud of what we’re building and most of all the unconditional love we have for each other. Ur a sweet gangsta and I love it! I always want the best for u and I wanna see u go all the way to the top where u belong. U deserve it. My twinn, my bestfrennn. So proud to call u my artist. I Love u 4 Ever @realtayybrown 🫶❤️❤️❤️ HBD month!

Lil' Kim

1,073,117 просмотров • 2 лет назад

(Yes i know the movement is exaggerated, its just to show the motion, it also doeant move like jello when in vr) -Left is before, Right is after- Ok wall of text time for the nerds Literally everything is the same on both sides except the position of 1 bone (made sure that even after adjusting, the collider would still be in the same spot) The reason for this change is because she wanted to be able to clap her ass in vr, and last time i did this all i did was add a toggle for a hidden bone that moved, and its angle would trigger the sound. Which was because that with my previous position, the cheeks could never really meet in the middle when in motion unless you just pushed them together with your hands, and i wanted to just have the sound actually be triggered by them colliding with each other This is also the first time ive used endbones to help drive the movement, so now thanks to that and all my previous experimenting with squishing as well, I can now get bones to move exactly how i want them to move when in natural motion. And i know a lot of people are gonna ask me to teach them how or explain my thought process but i literally just go off feeling lmao. Like, i just kinda visualize in my head how i want the motion to look, and then i just kinda know where to put everything, so im not even sure how to even start explaining rip. I have the things that artist want where they can just make the shit in their head exactly how they envisioned it lol I have a few more ideas i want to try, so we'll see if theyre good enough to get a tweet lol Thank you for coming to my ted talk

Pixel

27,240 просмотров • 1 год назад

Claude Monet painted the same stretch of cliff more than ninety times. The place is Étretat, a small fishing village on the coast of Normandy, where the chalk cliffs fall into the sea in great arches and a single spire of rock, the Aiguille, stands alone in the water. Monet had known the place since childhood. He grew up in Normandy, and these cliffs were among the first landscapes he ever saw... He returned to paint them again and again. He worked through the 1880s in front of the same rock formations, and across that time he produced more than ninety canvases of them: the cliffs at dawn, at sunset, under storm, under calm, in winter light and in the gold of a clear evening. In his letters to Alice, the woman he would later marry, he described the agony of it: the weather turning, the tide rising, the sun moving, the colour he had begun to capture vanishing before he could finish. He often worked on several canvases at once, switching between them as the conditions changed, racing each one against the hour. In a letter to his friend Frédéric Bazille he wrote: "It is beautiful here in Etretat. Every day I discover even more beautiful things. It is intoxicating me, and I want to paint it all, my head is bursting. I want to fight, scratch it off, start again, because I start to see and understand. It seems to me as if I can see nature and I can catch it all." The cliffs of Étretat had stood for millions of years and would look, to most people, the same on any given day. Monet saw that they were never the same even for two minutes. He stood on that shore and tried to hold, on canvas, something that exists only for an instant and then is gone forever. And that's exactly what those paintings really are: 90 attempts to keep a single, vanishing moment of light from disappearing. As Dylan Thomas once wrote: "Do not go gentle into that good night. Rage, rage against the dying of the light." -- -- -- If you want a deeper dive into the craft of painting, I recently wrote a piece exploring it in detail. You can read it here: And if you'd like to support my work, a paid subscription is what makes it possible:

James Lucas

57,710 просмотров • 1 месяц назад

Been wandering around Dallas for 2 years without a car, basically living on savings. I’ve made like not even 20,000 in over 2 years, but actually I’ve never felt better about myself in my life. (Don’t tell my Mom she’ll worry) But I don’t care. I’m lost in the forest and I don’t even know what’s going to happen. My lease is up in 3 months and I don’t even have proof of income to move anywhere. I’m trusting everything will happen exactly how it’s supposed to Been doing the yoga @yogazama consistently and I’m telling you I’m living proof it works, I quite literally feel like a snake shedding its skin. Come check it out here plus all the classes are great. My last download I want to share is that I remember why we are here. Look at a sunset, a leaf, a creek, a body of water. Touch the nature. Look into the clouds. That experience, That’s the REAL YOU. I remember being in my 1st grade class seeing pictures of people around the world holding hands in peace, love, unity and respect. Then you grow up and wonder what the hell is happening in this world? People are stressed from working 24/7 plus all the other mistreatment. I’ve made my mistakes too we all have and will continue to make mistakes. BUT I remember that we are supposed to give more than we receive. I remember that we are supposed to lend a helping hand to all. I remember that we are supposed to love each other thru our differences, I know that we are all ONE. I remember that we are here to bring HEAVEN to EARTH. The Courage, the Creativity, the Power, the Love, the Truth, the Wisdom, and the LIGHT in me Honors and Bows down to the Courage, the Creativity, the Power, the Love, the Truth, the Wisdom, and the Light in each of you. NAMASTE 🙏🐉🕉️🕉️ #Dfw #dfwyoga #dallasyoga

Ace 🧘🏻‍♂️⚡️🐉🌞🌕☯️🕉️

37,593 просмотров • 1 год назад