From 2eed7428d8472f1343ed5ebdba35a2804d848e09 Mon Sep 17 00:00:00 2001 From: Brandon Mak Date: Thu, 16 Mar 2023 10:44:03 +0800 Subject: [PATCH] Fixed emitting angles for particles --- Assets/Scenes/Scene2.shade | 2 +- Assets/Shaders/ParticleEmit_CS.glsl | 23 +++++++++++++++--- Assets/Shaders/ParticleEmit_CS.shshaderb | Bin 10437 -> 11661 bytes Assets/Shaders/ParticleUpdate_CS.glsl | 1 + Assets/Shaders/ParticleUpdate_CS.shshaderb | Bin 6565 -> 6689 bytes .../Inspector/SHEditorComponentView.hpp | 2 +- 6 files changed, 22 insertions(+), 6 deletions(-) diff --git a/Assets/Scenes/Scene2.shade b/Assets/Scenes/Scene2.shade index 4b3d5118..564c78c4 100644 --- a/Assets/Scenes/Scene2.shade +++ b/Assets/Scenes/Scene2.shade @@ -166,7 +166,7 @@ Maximum Speed: 6 Minimum Size: 0 Maximum Size: 0.5 - Angular Ranges And Offset: {x: 0.699999988, y: 0.469999999, z: 0, w: 0} + Angular Ranges And Offset: {x: 6.19999981, y: 1.10000002, z: 0, w: 0.100000001} Rotation Speed: 0 Texture Asset ID: 63456868 IsActive: true diff --git a/Assets/Shaders/ParticleEmit_CS.glsl b/Assets/Shaders/ParticleEmit_CS.glsl index c9e6cc8b..444af6db 100644 --- a/Assets/Shaders/ParticleEmit_CS.glsl +++ b/Assets/Shaders/ParticleEmit_CS.glsl @@ -137,9 +137,24 @@ void main() rand(seed) * angularRangesAndOffsets.y + angularRangesAndOffsets.w); // Set its velocity - particle.velocity.xyz = vec3 (cos(eulerAngles.x) * cos(eulerAngles.y), - sin(eulerAngles.x) * cos(eulerAngles.y), - sin(eulerAngles.y)); + // particle.velocity.xyz = vec3 (cos(eulerAngles.x) * cos(eulerAngles.y), + // sin(eulerAngles.x) * cos(eulerAngles.y), + // sin(eulerAngles.y)); + + float bank = eulerAngles.y; + float cb = cos(bank); + float sb = sin(bank); + float ch = cos (eulerAngles.x); + float sh = sin (eulerAngles.x); + float cp = cos (0.0f); + float sp = sin (0.0f); + + particle.velocity.xyz = mat3 ( + (ch * cb + sh * sp * sb), (sb * cp), (-sh * cb + ch * sp * sb), + (-ch * sb + sh * sp * cb), (cb * cp), ( sb * sh + ch * sp * cb), + (sh * cp), (-sp), (ch * cp) + ) * vec3 (1.0f, 0.0f, 0.0f); + particle.velocity *= map (rand (seed), 0.0f, 1.0f, minSpeed.x, maxSpeed.x); @@ -162,7 +177,7 @@ void main() particle.orientationSpeedDecay = vec4 (0.0f); - particle.acceleration = vec4 (0.01f); + particle.acceleration = vec4 (0.0f, -0.058f, 0.0f, 0.0f); inputParticles.data[index] = particle; diff --git a/Assets/Shaders/ParticleEmit_CS.shshaderb b/Assets/Shaders/ParticleEmit_CS.shshaderb index 6f340a2754899af3f2b9aae9ffd0985b96894bd1..f0d782403695ba43b8271f8a3103ba6fa2c4ac7b 100644 GIT binary patch literal 11661 zcmaKw37lPJdB#u3EFmlj5JK3(geXP{n+uB($dH5~keDH%;sOpgGiN3j?%X@fy_1AJ z3nbtY1aU!8aqnVjZEG#Iv<0nnv(VLAx>&o=($Z2(E6}R_|IeH^^X2@YhrE2x^Stl- zeebuNbMBeG+fU1iYxY4)d$Vj-Ha9yg``oN)?TG9klq@?W>nYlSb(_|m-tLT?{>C?* zX~f~#>>|*ZdBk+nc46bSdQ(Ron~$z`1hxY+R-4U#2hlzT>0;D@bwdLiHVmv=Gc-Ig zG1Ttd(8z}x^=3XaQlHF+JN2!(adVQmdULojHIfE&6OoSJ&De7pV`6x0XiKfVW!cnO zE1=Zbl^smm&hwFJ-ovc3Y_irI86tQlt~)zay*WljwGJha+npU*#?Hib74w^k>CKKO zX1q4BZ1k)Z>Azy^h4{AC8dKB#b!ErE>&^AWqFLLbXYbbiadB?JcWXO=i&S zuw&Cc+%fL{yzqH`sHxqivsJArvaGc?YbQBrpU&e3e6{A-RHHVzkv4DlH%B&%j<)ko zyU4u}f7Ijjb0%zmJ)9JMUayqjLzFSrHC}ISnkdgz=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GmqSjB{sqAh(RCzhj#IXt@b0{kmyI)ML$;Gm})+Ktjl=kn9Vm-vCS9u7trm0vCol} zcP8>Jv*w6=%el3>KhH?aepNZzRgShbn#Z0jGe?b=(5p3STchjt+4sXC-w{|fW?=41 zzc?eg#t|#dXe57gFjwlms=f2MTSKE5M@2o+o+L;T^=w*O-HV$0izIP~Ad?3(!PWVYYqh_U^f zUE8zVPQ)$DVrxa8qRx^0o?4&2a(vI%`bS(j+sNrVtKW8X@1eG}`HtELG54bFJ&NAk zg+7j0zkAbuGvbiHjk)kG>>b$FX8!Qsjb7#N!Il&2_n_O`u=k?dkFfWndymX_KeO@e zN30(}cc0qg4a(wr}~?iY&5h}AG(~qh#YPGLgNXl?7`{L6D>2`te-h&$v*SPbyY?_5=KWHSJwAeNY

J&-T$= z*Jm_;kEXGw5YJVK8V;koc8wb39YN%ZNBkLd;|EW_qlox(CGS{?$q(KK(1T}BwDpUc zK8Sw3nr6XWGmhu+7_zo^A1d+7_}I(ih?v~qoj?zs`L*?n^~Wpg(T@* z%rkkJ-in<<#66>rGCMpY@sA*4o{_qHbq`M<*5W)u8CsE^n@V%>g|EyVXw zdkgadBF7lpnA^xX#2EU<`_Vzy*I_+f=FcGd>uWA;{esg&mlN-yoIWCFHzG${zu*ke z3|e!*EnmlN-ydCntp;yu*XFE|&_<%}Sa=OVhCy@+|V^^>!i`Ll?e z8Y1Tq^XCvb`w=* z+1kH2(=VfYrq8e&eZPW;d8WquDq=i2#xbXue*fikyk|{x{jKjC$Th_La;(AnpGRDa z8k~)FrCf`8zKtyw_IJ>&FXDd}{YAw1`Wiz_KfmjP%+}-_F}{ax3~lf2_mQng+}j_Z z$Gz1z&iRMv`a0sAUqaX4{N~oyFE~F!ms7pBKgO10KjdiZ7o4A<%c-oA`3C+@Abe%_&nkpBV5ICypd diff --git a/SHADE_Engine/src/Editor/EditorWindow/Inspector/SHEditorComponentView.hpp b/SHADE_Engine/src/Editor/EditorWindow/Inspector/SHEditorComponentView.hpp index a46d76c4..4e150e10 100644 --- a/SHADE_Engine/src/Editor/EditorWindow/Inspector/SHEditorComponentView.hpp +++ b/SHADE_Engine/src/Editor/EditorWindow/Inspector/SHEditorComponentView.hpp @@ -831,7 +831,7 @@ namespace SHADE SHEditorWidgets::DragFloat("Min Size", [comp = component]() {return comp->GetMinSize(); }, [comp = component](float val) {comp->SetMinSize(val); }); SHEditorWidgets::DragFloat("Max Size", [comp = component]() {return comp->GetMaxSize(); }, [comp = component](float val) {comp->SetMaxSize(val); }); - SHEditorWidgets::DragVec4("Angles and Offsets", {"yaw", "pitch", "yaw off", "pitch off"}, + SHEditorWidgets::DragVec4("Angles and Offsets", {"yaw", "bank", "yaw off", "bank off"}, [comp = component]() { return comp->GetAngularRangesAndOffsets();