Subscribe to GameFromScratch on YouTube Support GameFromScratch on Patreon
18. September 2019


Unity Technologies have just released an amazing new package for the Unity game engine that enable you to stream a Unity game to multiple browsers, all synchronized, powered by the WebRTC standard.

Details from the Unity blog:

The power of WebRTC technologies lets you run Unity projects with high-quality rendering through your browser. The framework can be used in runtime or in the Editor, so it is useful for a variety of purposes, like running a car configurator made with HDRP or viewing an architectural model – projects that use high-end graphics.

WebRTC bridges the gap between browsers and real-time rendering

Developed by Google in 2011, WebRTC is open-source software that enables real-time peer-to-peer communication between browsers and mobile platforms. Any device can use Unity’s open-source framework for render streaming, so long as it’s equipped with the latest version of a browser that supports WebRTC. This includes all major browsers for iPad, iPhone, and Android.

WebRTC can be paired with Unity thanks to our app based on the Apache 2.0 license, which is publicly available through Github. This library is also available as a Preview release through Package Manager, to make it even easier to add it to your project.


The installation instructions are unfortunately lacking, missing a few key steps, such as the fact WebRTC isn’t actually available in the package manager nor what to do with the remote rendering archive.  Don’t worry they, we walk you through the process.

There are a few requirements though:

  • Windows Only for now
  • Current (very current!) NVIDIA drivers and a modern 1050+ GPU for the encoding to work
  • Unity 2019.1 or newer


Assuming you have all of those things, let’s begin.  First head here and download com.unity.renderstreaming-1.1.1-preview.tgz and com.unity.template.renderstreaming-1.1.1-preview.tgz.  Next head here and download com.unity.webrtc-1.0.1-preview.tgz(this is supposed to be in the package manager but currently isn't).


Now we need to copy these folders into our Unity install.  In the Unity Hub, click Installs, locate the installed version and click the triple dot at the top right and select Show In Explorer.

image


In Explorer, navigate to \Data\Resources\PackageManager.

Copy the RTC and renderstreaming tgz files into the Editor folder, while copying com.unity.template.renderstreaming-1.1.1-preview.tgz into the ProjectTemplates folder.

You may have to restart Unity Hub at this point.  Now in projects, with the version you just copied the files to selected, create a new project and the template should appear:

image


Select Unity Render Streaming Template and create a project.  Once in Unity you will have to go to the Package Manager and upgrade to HDRP requested as well as enable InputManager (make sure you have show preview packages enabled to locate it).


You can see Render Streaming in action in the video below, with additional instructions on how to get started!

GameDev News


10. September 2019


Fanatical have just entered the book market with a number of eBook bundles on a variety of subjects including Blender, Unity, Unreal and C++ development.  In the case of the Unreal and C++ books you can even buy individual books or smaller bundle packages to suit your needs.  Additionally there are bundles on machine learning, security, blockchain, Wordpress, command line and more.

The primary bundles of interest to game developers are:

The books in this bundle are from Packt Press, which can vary massively in quality.  Several of the books have also been in prior Humble Bundles, so be sure to check your Humble library before making a purchase.  All of the above links contain an affiliate code that helps support the channel if you use them to make a purchase (and thanks if you do!). 

Learn more about the bundles in the video below.

GameDev News


2. September 2019


Humble Bundle have just released another bundle of interest to game developers, the Humble Book Bundle: Become a Game Developer.  The title is slightly misleading as the majority of content are actually video courses and tutorials, although there are also half a dozen current Unity books from Packt in the bundle.  As always, the bundle is split into tiers.  Buying a higher tier also nets you all the contents from lower value tiers.

Bundle tiers:

1$ Tier

  • Unity 2018 Artificial Intelligence Cookbook **
  • Hands-On Game Development with Unity 2018.1
  • Mobile Game Development with Unity 3D 2019
  • Game Design with Unity 2019


8$ Tier

  • Unity Artificial Intelligence Programming **
  • Practical Unity Game Development
  • Hands-On Augmented Reality with ARCore and Unity
  • Introduction to Unity
  • Skeletons vs Zombies MOBA With Multiplayer in Unity
  • Beginner and Advanced Lighting in Unity
  • Cinematics and Animation in Unity


15$ Tier

  • Unity Virtual Reality Projects **
  • Unity 2018 Shaders and Effects Cookbook **
  • Unity 2018 Cookbook **
  • Learning C# by Developing Games with Unity 2019 **
  • Master ARCore 1.3 Unity SDK
  • Create an Image Target Based AR Experience Using Unity 3D and Vuforia 7
  • Create Augmented Reality Apps using Vuforia 7 in Unity
  • Create a Game Environment with Blender and Unity


Items marked with ** are books, all other items are videos.  You can decide how your money is allocated, between Humble, the publisher, charity or if you choose to support GameFromScratch (thanks!!!) using this link.  You can learn more about this bundle in the video below.

GameDev News


28. August 2019


Unity have just released Unity 2019.3 beta.  A few minor changes have had a major impact on the user experience, including a new UI font and icons making HiDPI support easier while cleaning up the UI.  Additionally the LWRP or Lightweight Render Pipeline has been renamed to the Universal Pipeline (HDRP remains the same), the package manager is improved with the ability to show assets as well as download directly from Git.

Details from the Unity blog:

The last beta release of the 2019 cycle, Unity 2019.3b, is here and it comes packed with new features, improvements, and a completely refreshed interface. Download it to get an early look at these highlights as well as to explore the new Input System, post-processing in the Universal Render Pipeline (formerly LWRP), physics updates, faster in-Editor iteration times, and the debut of ray tracing in Unity.

They are also running a giveaway for NVIDIA GeForce 2080 RTX GPU, check the above link for details.  The full release notes are available here or watch the following video for more details and to experience the updated UI in action.

GameDev News


21. August 2019


Unity just released a new sample “Spaceship” that demonstrates the new Visual Effect Graph showcasing it’s ability to create elaborate UI or in game special effects.

Details of the demonstration from the Unity blog:

The spaceship demo features many effects during its walkthrough. All these effects have been authored and optimized in-game production conditions with performance in mind, targeting 33.3 ms (30 fps) on Playstation 4 (base) at 1080p. All the effects are taking advantage of the many optimization settings we implemented in Visual Effect Graph and High Definition Render Pipeline.

Half-Resolution Translucent Rendering renders selected transparent particles at a lower resolution, increasing rendering performance by 4 (at the expense of little blurriness in some rare cases). We used it mostly for big, lit particles that are present in the foreground as their texel/pixel ratio is rather low, the loss in resolution is not noticeable at all.

Octagon Particles is an optimization of quad particles and enable the corners of the particles to be cropped.  where the pixels are often found transparent (invisible cost). Particle corners are often transparent, but the overlapping of these transparent areas result in unnecessary calculations. Cropping out these sections can optimize the scene up to 25% in situations where there is lots of overdraw. There is also the benefit of reducing the resolution of the translucent sections when they can’t be cropped away.

Simplified Lighting model: Simple Lit for HD Render Pipeline enables disabling properties of the BRDF – Diffuse Lighting, Specular Lighting, Shadow and Cookie Reception, and Ambient Lighting. By selecting only the features you want to see, you can decrease the lighting computation cost to close to none. For instance, particles can be lit using only Light Probes by selecting a Simple Lit Translucent Model, then disabling everything except ambient lighting. This optimization was chosen for many environment effects that did not require a lot of high-frequency lighting.


You can download the project from GitHub however you need to have git LFS support enabled.  You can also download a pre-compiled version as well as a zip of the complete source archive right here.

You can learn more about project as well as a complete capture of the Spaceship demo in the video below.

GameDev News


GFS On YouTube

See More Tutorials on DevGa.me!

Month List