Skip to content

Commit 71bac06

Browse files
committed
Re-added DX11 support
Re-added Dx11(and thus vulkan and metal) support Small change so if no directional light tagged maindirectional is found, the atmosphere will use the first directionalight found, so you dont end up with situations where you move the sun but the sky doesnt change Updated ReadMe
1 parent 663a7c8 commit 71bac06

File tree

10 files changed

+81
-1573
lines changed

10 files changed

+81
-1573
lines changed

README.md

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<li>EON and vMF diffuse models</li>
4545
<li>Chromatic Aberation, Contrast/Saturation, Colored Vignette</li>
4646
<li>Full Multiscatter Fog(Not realtime)</li>
47+
<li>Orthographic Camera</li>
4748
</ul>
4849

4950
MASSIVE thanks to
@@ -100,7 +101,7 @@ for bringing bindless textures to unity!
100101

101102
## General Use/Notes
102103
<ul>
103-
<li>DX12 is recommended, as it enables use of OIDN, Bindless texturing, RT Cores, and slightly higher performance</li>
104+
<li>DX12 is recommended, as it enables use of OIDN, Bindless texturing, RT Cores, and higher performance</li>
104105
<li>The camera you want to render from, you attach the RenderHandler script to(if you have a camera tagged MainCamera, this will be done automatically)</li>
105106
<li>The green/red rectangle shows when the acceleration structure is done building, and thus ready to render, red means that its not done, and green means its done building, a ding will sound when it completes if it takes longer than 15 seconds(Turn on Truetrace Settings -> Functionality Settings</li>
106107
<li>Objects can be added and removed at will simply by toggling the associated GameObject with a ParentObject script on/off in the hierarchy(clicking on parent objects with complex objects for children will lag), but they will take time to appear as the acceleration structure needs to be rebuilt for them</li>
@@ -110,13 +111,9 @@ for bringing bindless textures to unity!
110111
<li>If you use HDRIs, or CubeMaps for the skybox, you need to format as the texture to a Texture2D in the inspector of the image, unity will convert it automatically, then put it in the slot in "Scene Settings" in the TrueTrace settings menu</li>
111112
</ul>
112113

113-
## Creating Panoramas
114+
## Creating Non-Standard Images
114115
<ul>
115-
<li>Attatch the "PanoramaDoer" script to the "Scene" gameobject in the hierarchy</li>
116-
<li>Set your settings in the PanoramaDoer</li>
117-
<li>Enter Play Mode like normal and click the "Create Panorama" button in TrueTrace Settings</li>
118-
<li>The rest is automatic, from rendering, to stitching and will automatically exit play mode when finished</li>
119-
<li>The final Panorama will be put in Assets -> Screenshots, and the intermediate slices are in Assets -> TempPanorama</li>
116+
<li>Attatch the "TTAdvancedImageGen" script to any gameobject in the hierarchy, and fill out the settings you want.</li>
120117
</ul>
121118

122119
## Using Instancing
@@ -158,13 +155,12 @@ TrueTrace Options Description -
158155
<li>Remaining Objects - Objects still being processed</li>
159156
<li>Max Bounces - Sets the maximum number of bounces a ray can achieve</li>
160157
<li>Internal Resolution Ratio - Render scale in comparison to gameview size, turn to below 1 while in edit mode to decrease rendered resolution(to then be upscaled)</li>
161-
<li>Atlas Size - Maximum size of the texture atlas used(All textures are packed into atlas's so I can send them to the GPU)</li>
162158
<li>Use Russian Roulette - Highly recommended to leave this on, kills rays that may not contribute much early, and thus greatly increases performance</li>
163159
<li>Enable Object Moving - Allows objects to be moved during play, and allows for added objects to spawn in when they are done building</li>
164160
<li>Allow Image Accumulation - Allows the image to accumulate while the camera is not moving</li>
165161
<li>Use Next Event Estimation - Enables shadow rays/NEE for direct light sampling</li>
166162
<ul>
167-
<li>RIS Count - Number of RIS passes done for unity and mesh lights(for mesh lights, it only works if LBVH is off in "GlobalDefines.cginc")</li>
163+
<li>RIS Count - Number of RIS passes done for unity and mesh lights(for mesh lights, it only works if Use Light BVH is off in Functionality Settings)</li>
168164
</ul>
169165
<li>Allow Mesh Skinning - Turns on the ability for skinned meshes to be animated or deformed with respect to their armeture</li>
170166
<li>Denoiser - Allows you to switch between different denoisers</li>
@@ -208,17 +204,11 @@ TrueTrace Options Description -
208204
<li>Finally, add the "URPTTInjectPass" script to an empty gameobject</li>
209205
</ul>
210206

211-
## IES System
212-
<ul>
213-
<li>Add the texture highlighted in the image below to the "IES Profile" slot in the raytracinglights component thats added to standard unity lights(directional, point, spot, etc. type lights)</li>
214-
</ul>
215-
216-
![](/.Images/IESInstructions0.png)
217-
218207
# Known Bugs:
219208
</br>
220209
<ul>
221210
<li>Please report any you find to the discord or to me directly.</li>
211+
<li>If your in DX11 and the image displays black, make sure all TrueTrace compute shaders are set to "Caching Preprocessor".</li>
222212
</ul>
223213

224214
# Huge thanks to these people for sponsoring me:

TrueTrace.unitypackage

-56.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)