Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Un rendu de Quality avec Unity 3D

619 views

Published on

Slides du Meetup Unity Lyon #3. Vous voulez créer un rendu 3D de qualité ? Voici tout ce qu'il faut mettre en oeuvre pour y arriver. Deferred Rendering, Post Processing, Lighting, Lightmapping, Probes, HDRP...

Published in: Software
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Choose nowtoRead online PDFBest Book http://freetosebooks.xyz/Historiquement-correct.html
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Merci pour le partage !
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Un rendu de Quality avec Unity 3D

  1. 1. RENDU 3D DE QUALITÉ AVEC UNITY MEETUP UNITY LYON #3 -YANNICK COMTE
  2. 2. QUI SUIS-JE ? • Chef de projet / DéveloppeurVR chez Wanadev • JeuxVR pour salle d’arcade • Application AR • Créateur / Développeur chez Demonixis Games • Création de jeux vidéoVR • Auteur de plusieurs blogs • Auteur/Contributeur sur github
  3. 3. QUELQUES PRODUCTIONS
  4. 4. CONTEXTE : UNE 3D TEMPS RÉEL DE QUALITÉ4
  5. 5. SOMMAIRE • Choisir le bon espace de couleur (Spoiler Alert: Linear) • Lighting, HDR, Probes et Lightmapping • Rendering • Post Processing • Introduction à HDRP (démo) • Conclusion 5
  6. 6. ESPACE DE COULEUR LINEAIREVS GAMMA • Historiquement les moniteurs à tube cathodique utilisaient une courbe spécifique pour afficher les couleurs à l'écran • 0.45 + 0.45 = 0.90 => Linear • 0.45 + 0.45 = ? • Aujourd'hui les écrans LCD n'ont plus ce besoin, mais fonctionnent sur la même norme. • Les images sont généralement encodées en Gamma 6
  7. 7. ESPACE DE COULEUR LINEAIREVS GAMMA7
  8. 8. ESPACE DE COULEUR LINEAIREVS GAMMA • Edit > Player Settings > Player • Va réimporter les textures en linéaire • Obligatoire sur HDRP • Obligatoire pour HDR + Tonemapping • Obligatoire pour un setup lighting correct • Non supporté sur OpenGLES 2.0, WebGL 1.0 • Bancale sur UWP (correction gamma manuelle obligatoire enVR) 8
  9. 9. LIGHTING • 3 modes • Recommandé d'utiliser Mixed • Car équivalent à Backed + Realtime • Produit de l'éclairage spéculaire • Et c'est trop bien • Realtime doit être utilisé sur des lumières qui ne peuvent pas être backées (Particules, etc..) 9
  10. 10. LIGHTING - HDR • High Dynamic Range • Une RenderTarget est généralement limitée à une valeur de couleur entre 0.0f et 1.0f • L'idée c'est d'aller au-delà de 1.0f... • Pourquoi ? • Matériaux émissifs • Post Processing 10
  11. 11. ECLAIRAGE DIRECT ET INDIRECT • L'éclairage direct correspond à un rebond • L'éclairage indirect correspond à d'autres rebonds • On bake généralement l'éclairage indirect (Lightmaps) 11
  12. 12. REFLECTION PROBES • Créer une TextureCube utilisée pour la reflexion • Idéalement statique, mais peut être rebakée en temps réel via script • Ne pas hésiter à en mettre dans chaque pièces • Une seule globale pour debug c'est OK ( ) 12
  13. 13. LIGHT PROBES • Long à placer... Mais il existe des plugins • OK ça sert à capturer la lumière backées pour l'utiliser sur les objets non statiques • Du coup il existe des plugins (Lightprobe Placer) https://goo.gl/1ewDMi 13
  14. 14. LIGHTMAPPING • 3 modes là aussi de backing • Subtractive :Tout est backée dans une texture. Pas de spécularité (#pasbo) • Shadowmask : Eclairage indirect et ombres. • Backed Indirect : Eclairage indirect seulement • Choisir Realtime OU Mixed (pas comme sur le screen ) 14
  15. 15. RENDERING • Forward : Pas possible d'utiliser beaucoup de lumières, resérvé aux applications critiques (VR mobile, mobile low-end, WebGL 1.0). Moins de possibilité de Post Processing • Deferred : C’est-ce qu'utilise tous les jeux actuellement, c'est gourmant, mais ça permet d'utiliser tous les types d'effets • On va utiliser le Deferred Renderer quand on utilisera pas HDRP • N'ayez pas peur de l'utiliser enVR Desktop par exemple • Ne l’utilisez pas sur mobile 15
  16. 16. UTILISATION DU DEFERRED RENDERER • Se règle sur la caméra ou dans les Player Settings • Post Processing avancé : Screen Space Reflections <3 • Pleins de lumières en temps réel non statiques ! • Les ombres consomment toujours autant 16
  17. 17. POST PROCESSING • Améliorer l'image finale avec du traitement d'image • Certains effets ne fonctionnent qu'en Linear + HDR + Deferred • Minimum : Bloom +Tonemapping • Attention aux ScreenSpace XXX qui sont consommateurs (surtout sur mobile et enVR) 17
  18. 18. INTRODUCTION À HDRP • Taillé pour le Next-GenTemps réel • Eclairage volumétrique • Forward Tiled/Clustered • Deferred Renderer+ • Pipeline programmable <3 • VFX (particles GPU par nœuds) • Et bien plus <3 <3 <3 18
  19. 19. CONCLUSION • Utilisez les APIs graphique nouvelle génération quand c'est possible • OpenGL ES3+ /Vulkan / DirectX 12 • Utilisez des LightProbes et des Reflexion Probes • Attention au SSR • Cochez bien la case static ;) quand ça ne bouge pas • N'ayez pas peur d'essayer 19
  20. 20. QUESTION ? MERCI ! N’hésitez pas à me suivre ou à me contacter Mail : comte.yannick@gmail.com Github : https://github.com/demonixis Twitter : @CYannick Twitter : @DemonixisGames LinkedIn : https://www.linkedin.com/in/yannick-comte-49080947/ Facebook : DemonixisGames 20

×