Adding extra probes around walls (detroit become human)
Offset along "bent normal"
Approximate probe-visibility with cubemap (causes "shadowmap"-like artefacts), DDGI, McGuire
| // How to do a toolbar in Dear ImGui. | |
| const float toolbarSize = 50; | |
| void DockSpaceUI() | |
| { | |
| ImGuiViewport* viewport = ImGui::GetMainViewport(); | |
| ImGui::SetNextWindowPos(viewport->Pos + ImVec2(0, toolbarSize)); | |
| ImGui::SetNextWindowSize(viewport->Size - ImVec2(0, toolbarSize)); | |
| ImGui::SetNextWindowViewport(viewport->ID); |
Adding extra probes around walls (detroit become human)
Offset along "bent normal"
Approximate probe-visibility with cubemap (causes "shadowmap"-like artefacts), DDGI, McGuire
| /* | |
| The MIT License (MIT) | |
| Copyright (c) 2018 Eric Arnebäck | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| using System; | |
| public class Dog | |
| { | |
| static public void Type() | |
| { | |
| Console.WriteLine("a Dog!"); | |
| } | |
| public void Bark() | |
| { |