Commit Graph

3322 Commits

Author SHA1 Message Date
Wojciech Figat
bd48829a09 Improve quality for atlas sampling 2022-04-11 10:36:39 +02:00
Wojciech Figat
52245d36d6 Fixes for global atlas cache rendering 2022-04-11 10:36:19 +02:00
Wojciech Figat
7735849b7f Add Global Surface Atlas sampling 2022-04-08 13:54:31 +02:00
Wojciech Figat
fbc1e6c861 Fix shader source code encoding error on compilation error 2022-04-08 13:53:59 +02:00
Wojciech Figat
598876d8e3 Add shader reloading on header file edit for shaders with compilation errors 2022-04-08 13:53:23 +02:00
Wojciech Figat
da4008575b Progress on surface atlas sampling 2022-04-07 17:16:06 +02:00
Wojciech Figat
49a67be419 Add objects culling in Global Surface Atlas 2022-04-06 16:56:04 +02:00
Wojciech Figat
430ef09ab1 Fix render pass resource checking 2022-04-06 13:16:12 +02:00
Wojciech Figat
34c0d6c442 Add Global Surface Atlas objects redrawing 2022-04-06 13:15:45 +02:00
Wojciech Figat
60d6e6b9ce Add dirty tiles clearing before mesh rasterization to Global Surface Atlas 2022-04-05 17:22:45 +02:00
Wojciech Figat
5fc9cb154b Fix typo 2022-04-05 17:22:03 +02:00
Wojciech Figat
aba0e46073 Add utility ctors to Half vectors 2022-04-05 17:21:55 +02:00
Wojciech Figat
016b96e9f0 Add objects rasterization to Global Surface Atlas 2022-04-04 17:13:31 +02:00
Wojciech Figat
8bf01146f1 Add profile event to Global SDF objects drawing loop 2022-04-04 17:11:26 +02:00
Wojciech Figat
4c98e0a335 Add IsSingleFrame to RenderView for thumbnails/pre-render views drawing without temporal effects and LOD transitions 2022-04-04 17:11:01 +02:00
Wojciech Figat
3ded5326a2 Add more utilities for using Matrix3x3 2022-04-04 17:09:47 +02:00
Wojciech Figat
52bb5803b3 Cleanup asset previews setup for Editors thumbnails rendering 2022-04-04 17:09:13 +02:00
Wojciech Figat
cff57e5697 Fix inserting to RectPack after freeing node 2022-04-01 14:15:09 +02:00
Wojciech Figat
251de1b643 Add support for freeing slots in RectPack 2022-04-01 12:41:09 +02:00
Wojciech Figat
de8a6bea58 Add drawing RenderList if it was not batched/sorted 2022-04-01 12:40:26 +02:00
Wojciech Figat
94799a9e28 Fixes and tweaks for rendering 2022-04-01 12:39:46 +02:00
Wojciech Figat
ceb64afd4a Add DynamicTypedBuffer utility 2022-04-01 12:38:46 +02:00
Wojciech Figat
63b8b0cb50 Add GlobalSurfaceAtlas pass to Renderer (wip) 2022-03-29 15:07:00 +02:00
Wojciech Figat
787e7b423c Add additional HitNormal feature to Global SDF trace output 2022-03-29 15:06:54 +02:00
Wojciech Figat
9d56093381 Add lazy init for Global SDF shader 2022-03-29 15:06:48 +02:00
Wojciech Figat
26b2cb291e Expose GlobalSignDistanceFieldPass to user scripts 2022-03-29 15:06:41 +02:00
Wojciech Figat
c41a446ae9 Add Rotate Vector node to Visject Surface graphs 2022-03-28 15:02:32 +02:00
Wojciech Figat
446a6f22fa Fix using double value with float values to be casted in Editor 2022-03-28 14:48:45 +02:00
Wojciech Figat
2b83975ea2 Add support for implicit casting from Quaternion to other types in shaders 2022-03-28 14:48:21 +02:00
Wojciech Figat
fc138bbbbb Fix GPU context error during lights rendering 2022-03-28 14:01:51 +02:00
Wojciech Figat
e56b280f5b Format code for shader generators 2022-03-28 14:01:29 +02:00
Wojciech Figat
a685962d32 Add Sample Global SDF Gradient node to materials and particles 2022-03-28 13:58:27 +02:00
Wojciech Figat
4938c7e64b Fix ParticleEffectEditor issues after emitter editing if selected 2022-03-28 13:39:45 +02:00
Wojciech Figat
3a9edabd03 Add Collision (Global SDF) particle module 2022-03-28 13:39:20 +02:00
Wojciech Figat
bcc4a2c0a4 Add Position (Global SDF) particle module 2022-03-28 10:27:33 +02:00
Wojciech Figat
f608d2537f Fix 2022-03-25 15:45:49 +01:00
Wojciech Figat
2bf0a7af8e Fix opening particle emitter editor window if shader compilation fails 2022-03-25 15:37:01 +01:00
Wojciech Figat
5a0d8f44ff Fix crash on Editor closing 2022-03-25 15:36:47 +01:00
Wojciech Figat
3e9b6caa1c Fix sorting items in various contextual list popups in Editor 2022-03-25 15:36:30 +01:00
Wojciech Figat
a917397090 Add Conform to Global SDF to GPU particles 2022-03-25 15:36:00 +01:00
Wojciech Figat
6c4e61a924 Add SampleGlobalSDFGradient to get normal vector of Global SDF 2022-03-25 12:53:30 +01:00
Wojciech Figat
1271a337c5 Fix sampling Global SDF if unsupported (return large distance) 2022-03-25 11:42:39 +01:00
Wojciech Figat
a5af0a1c81 Fix game build 2022-03-25 11:42:09 +01:00
Wojciech Figat
4a18185e81 Add **Sample Global SDF** node to particles 2022-03-25 11:41:17 +01:00
Wojciech Figat
f8670a497e Fix crash when loading model SDF on older GPUs (d3d10) 2022-03-25 10:10:23 +01:00
Wojciech Figat
b847b9ccba Add **Sample Global SDF** node to materials 2022-03-25 10:09:52 +01:00
Wojciech Figat
dff1b37a3b Bump up build number 2022-03-25 09:50:18 +01:00
Wojciech Figat
80d7c854ab Add SDF for plane model 2022-03-24 15:24:36 +01:00
Wojciech Figat
d5297f9047 Add option to always render Global SDF 2022-03-24 14:59:14 +01:00
Wojciech Figat
92ab3d005e Generate SDF for engine models 2022-03-24 12:54:04 +01:00