Migrate shaders to URP and add loading screen

Reworks multiple shaders and materials for URP compatibility and adds a Loading screen/scene and a few model imports. Key changes:
- Converted ProBuilder standard vertex-color shader and several particle/surface shaders to URP HLSL passes (UniversalForward, ShadowCaster, Depth, DepthNormals) preserving base texture * tint * vertex color, normal map and PBR parameters.
- Updated particle SurfaceShader_VC to a URP forward pass and simplified lighting to use URP shader library helpers.
- Updated materials (landMark, tile) to point to project textures, adjust keywords/flags (e.g. XRMotionVectorsPass, disable ShadowCaster for one), tweak tiling and base color values.
- Added a Loading screen UI (UXML, USS) and LoadingScreenController.cs plus a new Loading scene and scene metadata.
- Imported new FBX assets (T-Pose, Untitled) and updated Editor build settings / project settings to include the new Loading scene.
These changes migrate rendering code to the Universal Render Pipeline and add a basic loading UI/scene, while updating materials and project settings accordingly.
This commit is contained in:
Robii Aragon
2026-02-23 21:47:59 -08:00
parent 31ada61565
commit 0e961ba4b1
37 changed files with 2867 additions and 1155 deletions

View File

@@ -1,410 +1,356 @@
/**
* This shader was created with Shaderforge but contains multiple manual edits.
* If you modify this shader make sure to go through and pack uv1 and uv2 channels
* into a single float4 to save on registers (on penalty of compile error)
*/
// Shader created with Shader Forge v1.38
// Shader Forge (c) Neat Corporation / Joachim Holmer - http://www.acegikmo.com/shaderforge/
// Note: Manually altering this data may prevent you from opening it in Shader Forge
// Uncomment (just the //) this line to edit with ShaderForge
// /*SF_DATA;ver:1.38;sub:START;pass:START;ps:flbk:Standard,iptp:0,cusa:False,bamd:0,cgin:,lico:1,lgpr:1,limd:3,spmd:1,trmd:0,grmd:1,uamb:True,mssp:True,bkdf:True,hqlp:False,rprd:True,enco:False,rmgx:True,imps:True,rpth:0,vtps:0,hqsc:True,nrmq:1,nrsp:0,vomd:0,spxs:False,tesm:0,olmd:1,culm:0,bsrc:0,bdst:1,dpts:2,wrdp:True,dith:0,atcv:False,rfrpo:True,rfrpn:Refraction,coma:15,ufog:True,aust:True,igpj:False,qofs:0,qpre:1,rntp:1,fgom:False,fgoc:False,fgod:False,fgor:False,fgmd:0,fgcr:0.5,fgcg:0.5,fgcb:0.5,fgca:1,fgde:0.01,fgrn:0,fgrf:300,stcl:False,atwp:False,stva:128,stmr:255,stmw:255,stcp:6,stps:0,stfa:0,stfz:0,ofsf:0,ofsu:0,f2p0:False,fnsp:False,fnfb:False,fsmp:False;n:type:ShaderForge.SFN_Final,id:2865,x:32719,y:32712,varname:node_2865,prsc:2|diff-6343-OUT,spec-358-OUT,gloss-1813-OUT,normal-5964-RGB;n:type:ShaderForge.SFN_Multiply,id:6343,x:32114,y:32712,varname:node_6343,prsc:2|A-7736-RGB,B-6665-RGB,C-3150-RGB;n:type:ShaderForge.SFN_Color,id:6665,x:31921,y:32805,ptovrint:False,ptlb:Color,ptin:_Color,varname:_Color,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,c1:1,c2:1,c3:1,c4:1;n:type:ShaderForge.SFN_Tex2d,id:7736,x:31921,y:32620,ptovrint:True,ptlb:Base Color,ptin:_MainTex,varname:_MainTex,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,ntxv:0,isnm:False;n:type:ShaderForge.SFN_Tex2d,id:5964,x:32407,y:32978,ptovrint:True,ptlb:Normal Map,ptin:_BumpMap,varname:_BumpMap,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,ntxv:3,isnm:True;n:type:ShaderForge.SFN_Slider,id:358,x:32250,y:32780,ptovrint:False,ptlb:Metallic,ptin:_Metallic,varname:node_358,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:0,cur:0,max:1;n:type:ShaderForge.SFN_Slider,id:1813,x:32250,y:32882,ptovrint:False,ptlb:Gloss,ptin:_Gloss,varname:_Metallic_copy,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:0,cur:0.8,max:1;n:type:ShaderForge.SFN_VertexColor,id:3150,x:31921,y:32967,varname:node_3150,prsc:2;proporder:5964-6665-7736-358-1813;pass:END;sub:END;*/
// ProBuilder Standard Vertex Color - rewritten for URP (Universal Render Pipeline)
// Preserves original feature set: Base Texture * Color Tint * Vertex Color, Normal Map, Metallic/Gloss PBR
Shader "ProBuilder/Standard Vertex Color" {
Properties {
_MainTex ("Base Color", 2D) = "white" {}
_BumpMap ("Normal Map", 2D) = "bump" {}
_Color ("Color", Color) = (1,1,1,1)
_Metallic ("Metallic", Range(0, 1)) = 0
_Gloss ("Gloss", Range(0, 1)) = 0.8
_MainTex ("Base Color", 2D) = "white" {}
_BumpMap ("Normal Map", 2D) = "bump" {}
_Color ("Color", Color) = (1,1,1,1)
_Metallic ("Metallic", Range(0, 1)) = 0
_Gloss ("Gloss", Range(0, 1)) = 0.8
}
SubShader {
Tags {
"RenderType"="Opaque"
"RenderType" = "Opaque"
"RenderPipeline" = "UniversalPipeline"
"Queue" = "Geometry"
}
Pass {
Name "FORWARD"
Tags {
"LightMode"="ForwardBase"
}
LOD 300
CGPROGRAM
#pragma vertex vert
// ─────────────────────────────────────────────────────────────────
// UniversalForward – main PBR pass
// ─────────────────────────────────────────────────────────────────
Pass {
Name "UniversalForward"
Tags { "LightMode" = "UniversalForward" }
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#define UNITY_PASS_FORWARDBASE
#define SHOULD_SAMPLE_SH ( defined (LIGHTMAP_OFF) && defined(DYNAMICLIGHTMAP_OFF) )
#define _GLOSSYENV 1
#include "UnityCG.cginc"
#include "AutoLight.cginc"
#include "Lighting.cginc"
#include "UnityPBSLighting.cginc"
#include "UnityStandardBRDF.cginc"
#pragma multi_compile_fwdbase_fullshadows
#pragma multi_compile LIGHTMAP_OFF LIGHTMAP_ON
#pragma multi_compile DIRLIGHTMAP_OFF DIRLIGHTMAP_COMBINED DIRLIGHTMAP_SEPARATE
#pragma multi_compile DYNAMICLIGHTMAP_OFF DYNAMICLIGHTMAP_ON
#pragma multi_compile _ _MAIN_LIGHT_SHADOWS _MAIN_LIGHT_SHADOWS_CASCADE _MAIN_LIGHT_SHADOWS_SCREEN
#pragma multi_compile _ _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS
#pragma multi_compile_fragment _ _ADDITIONAL_LIGHT_SHADOWS
#pragma multi_compile_fragment _ _SHADOWS_SOFT _SHADOWS_SOFT_LOW _SHADOWS_SOFT_MEDIUM _SHADOWS_SOFT_HIGH
#pragma multi_compile _ LIGHTMAP_SHADOW_MIXING
#pragma multi_compile _ SHADOWS_SHADOWMASK
#pragma multi_compile _ DIRLIGHTMAP_COMBINED
#pragma multi_compile _ LIGHTMAP_ON
#pragma multi_compile_fog
#pragma target 3.0
uniform float4 _Color;
uniform sampler2D _MainTex; uniform float4 _MainTex_ST;
uniform sampler2D _BumpMap; uniform float4 _BumpMap_ST;
uniform float _Metallic;
uniform float _Gloss;
struct VertexInput {
float4 vertex : POSITION;
float3 normal : NORMAL;
float4 tangent : TANGENT;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
float2 texcoord2 : TEXCOORD2;
float4 vertexColor : COLOR;
#pragma multi_compile_instancing
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl"
TEXTURE2D(_MainTex); SAMPLER(sampler_MainTex);
TEXTURE2D(_BumpMap); SAMPLER(sampler_BumpMap);
CBUFFER_START(UnityPerMaterial)
float4 _MainTex_ST;
float4 _BumpMap_ST;
half4 _Color;
half _Metallic;
half _Gloss;
CBUFFER_END
struct Attributes {
float4 positionOS : POSITION;
float3 normalOS : NORMAL;
float4 tangentOS : TANGENT;
float2 uv : TEXCOORD0;
float2 lightmapUV : TEXCOORD1;
half4 vertexColor : COLOR;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct VertexOutput {
float4 pos : SV_POSITION;
float2 uv0 : TEXCOORD0;
float4 uv1 : TEXCOORD1;
float4 posWorld : TEXCOORD3;
float3 normalDir : TEXCOORD4;
float3 tangentDir : TEXCOORD5;
float3 bitangentDir : TEXCOORD6;
float4 vertexColor : COLOR;
LIGHTING_COORDS(7,8)
UNITY_FOG_COORDS(9)
#if defined(LIGHTMAP_ON) || defined(UNITY_SHOULD_SAMPLE_SH)
float4 ambientOrLightmapUV : TEXCOORD10;
struct Varyings {
float4 positionCS : SV_POSITION;
float2 uv : TEXCOORD0;
float2 uvBump : TEXCOORD1;
float3 positionWS : TEXCOORD2;
float3 normalWS : TEXCOORD3;
float4 tangentWS : TEXCOORD4; // xyz: tangent, w: sign
half4 vertexColor : COLOR;
DECLARE_LIGHTMAP_OR_SH(staticLightmapUV, vertexSH, 5);
half4 fogFactorAndVertexLight : TEXCOORD6; // x: fog, yzw: vertex lights
#if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR)
float4 shadowCoord : TEXCOORD7;
#endif
UNITY_VERTEX_INPUT_INSTANCE_ID
UNITY_VERTEX_OUTPUT_STEREO
};
VertexOutput vert (VertexInput v) {
VertexOutput o = (VertexOutput)0;
o.uv0 = v.texcoord0;
o.uv1 = float4(v.texcoord1, v.texcoord2);
Varyings vert(Attributes v) {
Varyings o = (Varyings)0;
UNITY_SETUP_INSTANCE_ID(v);
UNITY_TRANSFER_INSTANCE_ID(v, o);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
VertexPositionInputs posInputs = GetVertexPositionInputs(v.positionOS.xyz);
VertexNormalInputs normInputs = GetVertexNormalInputs(v.normalOS, v.tangentOS);
o.positionCS = posInputs.positionCS;
o.positionWS = posInputs.positionWS;
o.uv = TRANSFORM_TEX(v.uv, _MainTex);
o.uvBump = TRANSFORM_TEX(v.uv, _BumpMap);
o.normalWS = normInputs.normalWS;
o.tangentWS = float4(normInputs.tangentWS, v.tangentOS.w * GetOddNegativeScale());
o.vertexColor = v.vertexColor;
#ifdef LIGHTMAP_ON
o.ambientOrLightmapUV.xy = v.texcoord1.xy * unity_LightmapST.xy + unity_LightmapST.zw;
o.ambientOrLightmapUV.zw = 0;
#elif UNITY_SHOULD_SAMPLE_SH
OUTPUT_LIGHTMAP_UV(v.lightmapUV, unity_LightmapST, o.staticLightmapUV);
OUTPUT_SH(o.normalWS.xyz, o.vertexSH);
half3 vertexLight = VertexLighting(posInputs.positionWS, normInputs.normalWS);
half fogFactor = ComputeFogFactor(posInputs.positionCS.z);
o.fogFactorAndVertexLight = half4(fogFactor, vertexLight);
#if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR)
o.shadowCoord = GetShadowCoord(posInputs);
#endif
#ifdef DYNAMICLIGHTMAP_ON
o.ambientOrLightmapUV.zw = v.texcoord2.xy * unity_DynamicLightmapST.xy + unity_DynamicLightmapST.zw;
#endif
o.normalDir = UnityObjectToWorldNormal(v.normal);
o.tangentDir = normalize( mul( unity_ObjectToWorld, float4( v.tangent.xyz, 0.0 ) ).xyz );
o.bitangentDir = normalize(cross(o.normalDir, o.tangentDir) * v.tangent.w);
o.posWorld = mul(unity_ObjectToWorld, v.vertex);
float3 lightColor = _LightColor0.rgb;
o.pos = UnityObjectToClipPos( v.vertex );
UNITY_TRANSFER_FOG(o,o.pos);
TRANSFER_VERTEX_TO_FRAGMENT(o)
return o;
}
float4 frag(VertexOutput i) : COLOR {
i.normalDir = normalize(i.normalDir);
float3x3 tangentTransform = float3x3( i.tangentDir, i.bitangentDir, i.normalDir);
float3 viewDirection = normalize(_WorldSpaceCameraPos.xyz - i.posWorld.xyz);
float3 _BumpMap_var = UnpackNormal(tex2D(_BumpMap,TRANSFORM_TEX(i.uv0, _BumpMap)));
float3 normalLocal = _BumpMap_var.rgb;
float3 normalDirection = normalize(mul( normalLocal, tangentTransform )); // Perturbed normals
float3 viewReflectDirection = reflect( -viewDirection, normalDirection );
float3 lightDirection = normalize(_WorldSpaceLightPos0.xyz);
float3 lightColor = _LightColor0.rgb;
float3 halfDirection = normalize(viewDirection+lightDirection);
////// Lighting:
float attenuation = LIGHT_ATTENUATION(i);
float3 attenColor = attenuation * _LightColor0.xyz;
float Pi = 3.141592654;
float InvPi = 0.31830988618;
///////// Gloss:
float gloss = 1.0 - _Gloss; // Convert roughness to gloss
float perceptualRoughness = _Gloss;
float roughness = perceptualRoughness * perceptualRoughness;
float specPow = exp2( gloss * 10.0 + 1.0 );
/////// GI Data:
UnityLight light;
#ifdef LIGHTMAP_OFF
light.color = lightColor;
light.dir = lightDirection;
light.ndotl = LambertTerm (normalDirection, light.dir);
#else
light.color = half3(0.f, 0.f, 0.f);
light.ndotl = 0.0f;
light.dir = half3(0.f, 0.f, 0.f);
#endif
UnityGIInput d;
d.light = light;
d.worldPos = i.posWorld.xyz;
d.worldViewDir = viewDirection;
d.atten = attenuation;
#if defined(LIGHTMAP_ON) || defined(DYNAMICLIGHTMAP_ON)
d.ambient = 0;
d.lightmapUV = i.ambientOrLightmapUV;
#else
d.ambient = i.ambientOrLightmapUV;
#endif
#if UNITY_SPECCUBE_BLENDING || UNITY_SPECCUBE_BOX_PROJECTION
d.boxMin[0] = unity_SpecCube0_BoxMin;
d.boxMin[1] = unity_SpecCube1_BoxMin;
#endif
#if UNITY_SPECCUBE_BOX_PROJECTION
d.boxMax[0] = unity_SpecCube0_BoxMax;
d.boxMax[1] = unity_SpecCube1_BoxMax;
d.probePosition[0] = unity_SpecCube0_ProbePosition;
d.probePosition[1] = unity_SpecCube1_ProbePosition;
#endif
d.probeHDR[0] = unity_SpecCube0_HDR;
d.probeHDR[1] = unity_SpecCube1_HDR;
Unity_GlossyEnvironmentData ugls_en_data;
ugls_en_data.roughness = 1.0 - gloss;
ugls_en_data.reflUVW = viewReflectDirection;
UnityGI gi = UnityGlobalIllumination(d, 1, normalDirection, ugls_en_data );
lightDirection = gi.light.dir;
lightColor = gi.light.color;
////// Specular:
float NdotL = saturate(dot( normalDirection, lightDirection ));
float LdotH = saturate(dot(lightDirection, halfDirection));
float3 specularColor = _Metallic;
float specularMonochrome;
float4 _MainTex_var = tex2D(_MainTex,TRANSFORM_TEX(i.uv0, _MainTex));
float3 diffuseColor = (_MainTex_var.rgb*_Color.rgb*i.vertexColor.rgb); // Need this for specular when using metallic
diffuseColor = DiffuseAndSpecularFromMetallic( diffuseColor, specularColor, specularColor, specularMonochrome );
specularMonochrome = 1.0-specularMonochrome;
float NdotV = abs(dot( normalDirection, viewDirection ));
float NdotH = saturate(dot( normalDirection, halfDirection ));
float VdotH = saturate(dot( viewDirection, halfDirection ));
float visTerm = SmithJointGGXVisibilityTerm( NdotL, NdotV, roughness );
float normTerm = GGXTerm(NdotH, roughness);
float specularPBL = (visTerm*normTerm) * UNITY_PI;
#ifdef UNITY_COLORSPACE_GAMMA
specularPBL = sqrt(max(1e-4h, specularPBL));
#endif
specularPBL = max(0, specularPBL * NdotL);
#if defined(_SPECULARHIGHLIGHTS_OFF)
specularPBL = 0.0;
#endif
half surfaceReduction;
#ifdef UNITY_COLORSPACE_GAMMA
surfaceReduction = 1.0-0.28*roughness*perceptualRoughness;
#else
surfaceReduction = 1.0/(roughness*roughness + 1.0);
#endif
specularPBL *= any(specularColor) ? 1.0 : 0.0;
float3 directSpecular = attenColor*specularPBL*FresnelTerm(specularColor, LdotH);
half grazingTerm = saturate( gloss + specularMonochrome );
float3 indirectSpecular = (gi.indirect.specular);
indirectSpecular *= FresnelLerp (specularColor, grazingTerm, NdotV);
indirectSpecular *= surfaceReduction;
float3 specular = (directSpecular + indirectSpecular);
/////// Diffuse:
NdotL = max(0.0,dot( normalDirection, lightDirection ));
half fd90 = 0.5 + 2 * LdotH * LdotH * (1-gloss);
float nlPow5 = Pow5(1-NdotL);
float nvPow5 = Pow5(1-NdotV);
float3 directDiffuse = ((1 +(fd90 - 1)*nlPow5) * (1 + (fd90 - 1)*nvPow5) * NdotL) * attenColor;
float3 indirectDiffuse = float3(0,0,0);
indirectDiffuse += gi.indirect.diffuse;
float3 diffuse = (directDiffuse + indirectDiffuse) * diffuseColor;
/// Final Color:
float3 finalColor = diffuse + specular;
fixed4 finalRGBA = fixed4(finalColor,1);
UNITY_APPLY_FOG(i.fogCoord, finalRGBA);
return finalRGBA;
}
ENDCG
}
Pass {
Name "FORWARD_DELTA"
Tags {
"LightMode"="ForwardAdd"
}
Blend One One
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#define UNITY_PASS_FORWARDADD
#define SHOULD_SAMPLE_SH ( defined (LIGHTMAP_OFF) && defined(DYNAMICLIGHTMAP_OFF) )
#define _GLOSSYENV 1
#include "UnityCG.cginc"
#include "AutoLight.cginc"
#include "Lighting.cginc"
#include "UnityPBSLighting.cginc"
#include "UnityStandardBRDF.cginc"
#pragma multi_compile_fwdadd_fullshadows
#pragma multi_compile LIGHTMAP_OFF LIGHTMAP_ON
#pragma multi_compile DIRLIGHTMAP_OFF DIRLIGHTMAP_COMBINED DIRLIGHTMAP_SEPARATE
#pragma multi_compile DYNAMICLIGHTMAP_OFF DYNAMICLIGHTMAP_ON
#pragma multi_compile_fog
#pragma target 3.0
uniform float4 _Color;
uniform sampler2D _MainTex; uniform float4 _MainTex_ST;
uniform sampler2D _BumpMap; uniform float4 _BumpMap_ST;
uniform float _Metallic;
uniform float _Gloss;
struct VertexInput {
float4 vertex : POSITION;
float3 normal : NORMAL;
float4 tangent : TANGENT;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
float2 texcoord2 : TEXCOORD2;
float4 vertexColor : COLOR;
half4 frag(Varyings i) : SV_Target {
UNITY_SETUP_INSTANCE_ID(i);
UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(i);
// Albedo = texture * color tint * vertex color (matches original logic)
half4 albedoSample = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, i.uv);
half3 albedo = albedoSample.rgb * _Color.rgb * i.vertexColor.rgb;
// Normal map
half4 normalSample = SAMPLE_TEXTURE2D(_BumpMap, sampler_BumpMap, i.uvBump);
half3 normalTS = UnpackNormal(normalSample);
float3 bitangentWS = cross(i.normalWS, i.tangentWS.xyz) * i.tangentWS.w;
float3 normalWS = TransformTangentToWorld(normalTS,
float3x3(i.tangentWS.xyz, bitangentWS, i.normalWS));
normalWS = NormalizeNormalPerPixel(normalWS);
// Shadow coordinate
#if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR)
float4 shadowCoord = i.shadowCoord;
#elif defined(MAIN_LIGHT_CALCULATE_SHADOWS)
float4 shadowCoord = TransformWorldToShadowCoord(i.positionWS);
#else
float4 shadowCoord = float4(0, 0, 0, 0);
#endif
// Build URP surface / input structs
SurfaceData surfaceData = (SurfaceData)0;
surfaceData.albedo = albedo;
surfaceData.metallic = _Metallic;
surfaceData.smoothness = _Gloss;
surfaceData.normalTS = normalTS;
surfaceData.occlusion = 1.0h;
surfaceData.alpha = 1.0h;
InputData inputData = (InputData)0;
inputData.positionWS = i.positionWS;
inputData.normalWS = normalWS;
inputData.viewDirectionWS = GetWorldSpaceNormalizeViewDir(i.positionWS);
inputData.shadowCoord = shadowCoord;
inputData.fogCoord = i.fogFactorAndVertexLight.x;
inputData.vertexLighting = i.fogFactorAndVertexLight.yzw;
inputData.bakedGI = SAMPLE_GI(i.staticLightmapUV, i.vertexSH, inputData.normalWS);
inputData.normalizedScreenSpaceUV = GetNormalizedScreenSpaceUV(i.positionCS);
inputData.shadowMask = SAMPLE_SHADOWMASK(i.staticLightmapUV);
half4 color = UniversalFragmentPBR(inputData, surfaceData);
color.rgb = MixFog(color.rgb, inputData.fogCoord);
return color;
}
ENDHLSL
}
// ─────────────────────────────────────────────────────────────────
// ShadowCaster
// ─────────────────────────────────────────────────────────────────
Pass {
Name "ShadowCaster"
Tags { "LightMode" = "ShadowCaster" }
ZWrite On
ZTest LEqual
ColorMask 0
Cull Back
HLSLPROGRAM
#pragma vertex shadowVert
#pragma fragment shadowFrag
#pragma multi_compile_instancing
#pragma multi_compile_vertex _ _CASTING_PUNCTUAL_LIGHT_SHADOW
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl"
CBUFFER_START(UnityPerMaterial)
float4 _MainTex_ST;
float4 _BumpMap_ST;
half4 _Color;
half _Metallic;
half _Gloss;
CBUFFER_END
float3 _LightDirection;
float3 _LightPosition;
struct ShadowAttributes {
float4 positionOS : POSITION;
float3 normalOS : NORMAL;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct VertexOutput {
float4 pos : SV_POSITION;
float2 uv0 : TEXCOORD0;
float4 uv1 : TEXCOORD1;
float4 posWorld : TEXCOORD3;
float3 normalDir : TEXCOORD4;
float3 tangentDir : TEXCOORD5;
float3 bitangentDir : TEXCOORD6;
float4 vertexColor : COLOR;
LIGHTING_COORDS(7,8)
UNITY_FOG_COORDS(9)
struct ShadowVaryings {
float4 positionCS : SV_POSITION;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
VertexOutput vert (VertexInput v) {
VertexOutput o = (VertexOutput)0;
o.uv0 = v.texcoord0;
o.uv1 = float4(v.texcoord1, v.texcoord2);
o.vertexColor = v.vertexColor;
o.normalDir = UnityObjectToWorldNormal(v.normal);
o.tangentDir = normalize( mul( unity_ObjectToWorld, float4( v.tangent.xyz, 0.0 ) ).xyz );
o.bitangentDir = normalize(cross(o.normalDir, o.tangentDir) * v.tangent.w);
o.posWorld = mul(unity_ObjectToWorld, v.vertex);
float3 lightColor = _LightColor0.rgb;
o.pos = UnityObjectToClipPos( v.vertex );
UNITY_TRANSFER_FOG(o,o.pos);
TRANSFER_VERTEX_TO_FRAGMENT(o)
ShadowVaryings shadowVert(ShadowAttributes v) {
ShadowVaryings o;
UNITY_SETUP_INSTANCE_ID(v);
UNITY_TRANSFER_INSTANCE_ID(v, o);
float3 positionWS = TransformObjectToWorld(v.positionOS.xyz);
float3 normalWS = TransformObjectToWorldNormal(v.normalOS);
#if defined(_CASTING_PUNCTUAL_LIGHT_SHADOW)
float3 lightDir = normalize(_LightPosition - positionWS);
#else
float3 lightDir = _LightDirection;
#endif
o.positionCS = TransformWorldToHClip(ApplyShadowBias(positionWS, normalWS, lightDir));
#if UNITY_REVERSED_Z
o.positionCS.z = min(o.positionCS.z, UNITY_NEAR_CLIP_VALUE);
#else
o.positionCS.z = max(o.positionCS.z, UNITY_NEAR_CLIP_VALUE);
#endif
return o;
}
float4 frag(VertexOutput i) : COLOR {
i.normalDir = normalize(i.normalDir);
float3x3 tangentTransform = float3x3( i.tangentDir, i.bitangentDir, i.normalDir);
float3 viewDirection = normalize(_WorldSpaceCameraPos.xyz - i.posWorld.xyz);
float3 _BumpMap_var = UnpackNormal(tex2D(_BumpMap,TRANSFORM_TEX(i.uv0, _BumpMap)));
float3 normalLocal = _BumpMap_var.rgb;
float3 normalDirection = normalize(mul( normalLocal, tangentTransform )); // Perturbed normals
float3 lightDirection = normalize(lerp(_WorldSpaceLightPos0.xyz, _WorldSpaceLightPos0.xyz - i.posWorld.xyz,_WorldSpaceLightPos0.w));
float3 lightColor = _LightColor0.rgb;
float3 halfDirection = normalize(viewDirection+lightDirection);
////// Lighting:
float attenuation = LIGHT_ATTENUATION(i);
float3 attenColor = attenuation * _LightColor0.xyz;
float Pi = 3.141592654;
float InvPi = 0.31830988618;
///////// Gloss:
float gloss = 1.0 - _Gloss; // Convert roughness to gloss
float perceptualRoughness = _Gloss;
float roughness = perceptualRoughness * perceptualRoughness;
float specPow = exp2( gloss * 10.0 + 1.0 );
////// Specular:
float NdotL = saturate(dot( normalDirection, lightDirection ));
float LdotH = saturate(dot(lightDirection, halfDirection));
float3 specularColor = _Metallic;
float specularMonochrome;
float4 _MainTex_var = tex2D(_MainTex,TRANSFORM_TEX(i.uv0, _MainTex));
float3 diffuseColor = (_MainTex_var.rgb*_Color.rgb*i.vertexColor.rgb); // Need this for specular when using metallic
diffuseColor = DiffuseAndSpecularFromMetallic( diffuseColor, specularColor, specularColor, specularMonochrome );
specularMonochrome = 1.0-specularMonochrome;
float NdotV = abs(dot( normalDirection, viewDirection ));
float NdotH = saturate(dot( normalDirection, halfDirection ));
float VdotH = saturate(dot( viewDirection, halfDirection ));
float visTerm = SmithJointGGXVisibilityTerm( NdotL, NdotV, roughness );
float normTerm = GGXTerm(NdotH, roughness);
float specularPBL = (visTerm*normTerm) * UNITY_PI;
#ifdef UNITY_COLORSPACE_GAMMA
specularPBL = sqrt(max(1e-4h, specularPBL));
#endif
specularPBL = max(0, specularPBL * NdotL);
#if defined(_SPECULARHIGHLIGHTS_OFF)
specularPBL = 0.0;
#endif
specularPBL *= any(specularColor) ? 1.0 : 0.0;
float3 directSpecular = attenColor*specularPBL*FresnelTerm(specularColor, LdotH);
float3 specular = directSpecular;
/////// Diffuse:
NdotL = max(0.0,dot( normalDirection, lightDirection ));
half fd90 = 0.5 + 2 * LdotH * LdotH * (1-gloss);
float nlPow5 = Pow5(1-NdotL);
float nvPow5 = Pow5(1-NdotV);
float3 directDiffuse = ((1 +(fd90 - 1)*nlPow5) * (1 + (fd90 - 1)*nvPow5) * NdotL) * attenColor;
float3 diffuse = directDiffuse * diffuseColor;
/// Final Color:
float3 finalColor = diffuse + specular;
fixed4 finalRGBA = fixed4(finalColor * 1,0);
UNITY_APPLY_FOG(i.fogCoord, finalRGBA);
return finalRGBA;
}
ENDCG
}
Pass {
Name "Meta"
Tags {
"LightMode"="Meta"
}
Cull Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#define UNITY_PASS_META 1
#define SHOULD_SAMPLE_SH ( defined (LIGHTMAP_OFF) && defined(DYNAMICLIGHTMAP_OFF) )
#define _GLOSSYENV 1
#include "UnityCG.cginc"
#include "Lighting.cginc"
#include "UnityPBSLighting.cginc"
#include "UnityStandardBRDF.cginc"
#include "UnityMetaPass.cginc"
#pragma fragmentoption ARB_precision_hint_fastest
#pragma multi_compile_shadowcaster
#pragma multi_compile LIGHTMAP_OFF LIGHTMAP_ON
#pragma multi_compile DIRLIGHTMAP_OFF DIRLIGHTMAP_COMBINED DIRLIGHTMAP_SEPARATE
#pragma multi_compile DYNAMICLIGHTMAP_OFF DYNAMICLIGHTMAP_ON
#pragma multi_compile_fog
#pragma target 3.0
uniform float4 _Color;
uniform sampler2D _MainTex; uniform float4 _MainTex_ST;
uniform float _Metallic;
uniform float _Gloss;
struct VertexInput {
float4 vertex : POSITION;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
float2 texcoord2 : TEXCOORD2;
float4 vertexColor : COLOR;
half4 shadowFrag(ShadowVaryings i) : SV_Target { return 0; }
ENDHLSL
}
// ─────────────────────────────────────────────────────────────────
// DepthOnly
// ─────────────────────────────────────────────────────────────────
Pass {
Name "DepthOnly"
Tags { "LightMode" = "DepthOnly" }
ZWrite On
ColorMask R
Cull Back
HLSLPROGRAM
#pragma vertex depthVert
#pragma fragment depthFrag
#pragma multi_compile_instancing
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
CBUFFER_START(UnityPerMaterial)
float4 _MainTex_ST;
float4 _BumpMap_ST;
half4 _Color;
half _Metallic;
half _Gloss;
CBUFFER_END
struct DepthAttributes {
float4 positionOS : POSITION;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct VertexOutput {
float4 pos : SV_POSITION;
float2 uv0 : TEXCOORD0;
float4 uv1 : TEXCOORD1;
float4 posWorld : TEXCOORD3;
float4 vertexColor : COLOR;
struct DepthVaryings {
float4 positionCS : SV_POSITION;
UNITY_VERTEX_INPUT_INSTANCE_ID
UNITY_VERTEX_OUTPUT_STEREO
};
VertexOutput vert (VertexInput v) {
VertexOutput o = (VertexOutput)0;
o.uv0 = v.texcoord0;
o.uv1 = float4(v.texcoord1, v.texcoord2);
o.vertexColor = v.vertexColor;
o.posWorld = mul(unity_ObjectToWorld, v.vertex);
o.pos = UnityMetaVertexPosition(v.vertex, v.texcoord1.xy, v.texcoord2.xy, unity_LightmapST, unity_DynamicLightmapST );
DepthVaryings depthVert(DepthAttributes v) {
DepthVaryings o;
UNITY_SETUP_INSTANCE_ID(v);
UNITY_TRANSFER_INSTANCE_ID(v, o);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
o.positionCS = TransformObjectToHClip(v.positionOS.xyz);
return o;
}
float4 frag(VertexOutput i) : SV_Target {
float3 viewDirection = normalize(_WorldSpaceCameraPos.xyz - i.posWorld.xyz);
UnityMetaInput o;
UNITY_INITIALIZE_OUTPUT( UnityMetaInput, o );
o.Emission = 0;
half depthFrag(DepthVaryings i) : SV_Target { return i.positionCS.z; }
ENDHLSL
}
float4 _MainTex_var = tex2D(_MainTex,TRANSFORM_TEX(i.uv0, _MainTex));
float3 diffColor = (_MainTex_var.rgb*_Color.rgb*i.vertexColor.rgb);
float specularMonochrome;
float3 specColor;
diffColor = DiffuseAndSpecularFromMetallic( diffColor, _Metallic, specColor, specularMonochrome );
float roughness = _Gloss;
o.Albedo = diffColor + specColor * roughness * roughness * 0.5;
// ─────────────────────────────────────────────────────────────────
// DepthNormals – needed by SSAO and other URP effects
// ─────────────────────────────────────────────────────────────────
Pass {
Name "DepthNormals"
Tags { "LightMode" = "DepthNormals" }
return UnityMetaFragment( o );
ZWrite On
Cull Back
HLSLPROGRAM
#pragma vertex depthNormalsVert
#pragma fragment depthNormalsFrag
#pragma multi_compile_instancing
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
TEXTURE2D(_BumpMap); SAMPLER(sampler_BumpMap);
CBUFFER_START(UnityPerMaterial)
float4 _MainTex_ST;
float4 _BumpMap_ST;
half4 _Color;
half _Metallic;
half _Gloss;
CBUFFER_END
struct DNAttributes {
float4 positionOS : POSITION;
float3 normalOS : NORMAL;
float4 tangentOS : TANGENT;
float2 uv : TEXCOORD0;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct DNVaryings {
float4 positionCS : SV_POSITION;
float2 uvBump : TEXCOORD0;
float3 normalWS : TEXCOORD1;
float4 tangentWS : TEXCOORD2;
UNITY_VERTEX_INPUT_INSTANCE_ID
UNITY_VERTEX_OUTPUT_STEREO
};
DNVaryings depthNormalsVert(DNAttributes v) {
DNVaryings o = (DNVaryings)0;
UNITY_SETUP_INSTANCE_ID(v);
UNITY_TRANSFER_INSTANCE_ID(v, o);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
VertexNormalInputs normInputs = GetVertexNormalInputs(v.normalOS, v.tangentOS);
o.positionCS = TransformObjectToHClip(v.positionOS.xyz);
o.uvBump = TRANSFORM_TEX(v.uv, _BumpMap);
o.normalWS = normInputs.normalWS;
o.tangentWS = float4(normInputs.tangentWS, v.tangentOS.w * GetOddNegativeScale());
return o;
}
ENDCG
float4 depthNormalsFrag(DNVaryings i) : SV_Target {
half4 normalSample = SAMPLE_TEXTURE2D(_BumpMap, sampler_BumpMap, i.uvBump);
half3 normalTS = UnpackNormal(normalSample);
float3 bitangentWS = cross(i.normalWS, i.tangentWS.xyz) * i.tangentWS.w;
float3 normalWS = TransformTangentToWorld(normalTS,
float3x3(i.tangentWS.xyz, bitangentWS, i.normalWS));
normalWS = NormalizeNormalPerPixel(normalWS);
return float4(normalWS * 0.5 + 0.5, 0.0);
}
ENDHLSL
}
}
FallBack "Standard"
FallBack "Universal Render Pipeline/Lit"
}

View File

@@ -14,7 +14,6 @@ Material:
m_ValidKeywords:
- _ALPHAPREMULTIPLY_ON
- _EMISSION
- _SPECULAR_COLOR
- _SURFACE_TYPE_TRANSPARENT
m_InvalidKeywords: []
m_LightmapFlags: 1
@@ -26,6 +25,7 @@ Material:
disabledShaderPasses:
- MOTIONVECTORS
- DepthOnly
- SHADOWCASTER
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -55,7 +55,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: 435eb10ee7c8e0b41812b2dd39ca7e2b, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
@@ -116,10 +116,11 @@ Material:
- _SrcBlendAlpha: 1
- _Surface: 1
- _UVSec: 0
- _XRMotionVectorsPass: 1
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 0.28275868, g: 0, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 0.28275865, g: 0, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_BuildTextureStacks: []

View File

@@ -13,8 +13,6 @@ Material:
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _EMISSION
- _GLOSSINESS_FROM_BASE_ALPHA
- _SPECULAR_COLOR
m_InvalidKeywords: []
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
@@ -49,8 +47,8 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Texture: {fileID: 2800000, guid: 900e49f80a88714429ddb6e43b813ef6, type: 3}
m_Scale: {x: 5, y: 5}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
@@ -97,6 +95,7 @@ Material:
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _XRMotionVectorsPass: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -1,47 +1,91 @@
Shader "Custom/SurfaceShader_VC" {
Properties{
Shader "Custom/URP_SurfaceShader_VC"
{
Properties
{
_Color("Color", Color) = (1,1,1,1)
_MainTex("Albedo (RGB)", 2D) = "white" {}
_Normal("Normap Map", 2D) = "bump" {}
_Normal("Normal Map", 2D) = "bump" {}
}
SubShader{
Tags{ "Queue" = "Transparent" "RenderType" = "Transparent" }
SubShader
{
Tags { "Queue" = "Transparent" "RenderType" = "Transparent" }
LOD 200
Blend One OneMinusSrcAlpha
CGPROGRAM
// Physically based Standard lighting model, and enable shadows on all light types
#pragma surface surf Standard fullforwardshadows vertex:vert alpha:fade
Pass
{
Name "FORWARD"
Tags { "LightMode" = "UniversalForward" }
// Use shader model 3.0 target, to get nicer looking lighting
#pragma target 3.0
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_fog
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
sampler2D _MainTex;
sampler2D _Normal;
struct Attributes
{
float4 positionOS : POSITION;
float2 uv : TEXCOORD0;
float4 color : COLOR;
float3 normalOS : NORMAL;
float4 tangentOS : TANGENT;
};
struct Input {
float2 uv_MainTex;
float4 vertex : SV_POSITION;
float4 color : COLOR;
};
struct Varyings
{
float4 positionHCS : SV_POSITION;
float2 uv : TEXCOORD0;
float4 color : COLOR;
float3 normalWS : TEXCOORD1;
float3 tangentWS : TEXCOORD2;
float3 bitangentWS : TEXCOORD3;
float fogFactor : TEXCOORD4;
};
void vert(inout appdata_full v, out Input o)
{
UNITY_INITIALIZE_OUTPUT(Input, o);
o.color = v.color;
CBUFFER_START(UnityPerMaterial)
float4 _Color;
CBUFFER_END
TEXTURE2D(_MainTex); SAMPLER(sampler_MainTex);
TEXTURE2D(_Normal); SAMPLER(sampler_Normal);
Varyings vert(Attributes IN)
{
Varyings OUT;
OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
OUT.uv = IN.uv;
OUT.color = IN.color;
float3 normalWS = TransformObjectToWorldNormal(IN.normalOS);
float3 tangentWS = TransformObjectToWorldDir(IN.tangentOS.xyz);
float3 bitangentWS = cross(normalWS, tangentWS) * IN.tangentOS.w;
OUT.normalWS = normalWS;
OUT.tangentWS = tangentWS;
OUT.bitangentWS = bitangentWS;
OUT.fogFactor = ComputeFogFactor(OUT.positionHCS.z / OUT.positionHCS.w);
return OUT;
}
float4 frag(Varyings IN) : SV_Target
{
float4 albedo = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, IN.uv) * _Color;
float3 normalTS = UnpackNormal(SAMPLE_TEXTURE2D(_Normal, sampler_Normal, IN.uv));
float3x3 TBN = float3x3(IN.tangentWS, IN.bitangentWS, IN.normalWS);
float3 normalWS = normalize(mul(normalTS, TBN));
float3 viewDirWS = normalize(_WorldSpaceCameraPos - IN.positionHCS.xyz);
float3 lightDirWS = normalize(_MainLightPosition.xyz);
float3 lightColor = _MainLightColor.rgb;
float NdotL = saturate(dot(normalWS, lightDirWS));
float3 diffuse = albedo.rgb * lightColor * NdotL * IN.color.rgb;
float alpha = albedo.a * IN.color.a;
diffuse = MixFog(diffuse, IN.fogFactor);
return float4(diffuse, alpha);
}
ENDHLSL
}
}
fixed4 _Color;
void surf(Input IN, inout SurfaceOutputStandard o) {
// Albedo comes from a texture tinted by color
fixed4 c = tex2D(_MainTex, IN.uv_MainTex) * _Color;
o.Albedo = c.rgb*IN.color;
o.Normal = UnpackNormal(tex2D(_Normal, IN.uv_MainTex));
o.Alpha = c.a*IN.color.a;
}
ENDCG
}
FallBack "Diffuse"
FallBack "Universal Forward"
}

View File

@@ -1,59 +1,79 @@
Shader "Custom/Dissolve"
Shader "Custom/URP_Dissolve"
{
Properties {
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Glossiness ("Smoothness", Range(0,1)) = 0.5
_Metallic ("Metallic", Range(0,1)) = 0.0
_DissolveTexture("Dissolve Texture", 2D) = "white" {}
_Amount("Amount", Range(0,1)) = 0
_DissolveColor ("Disolve Color", Color) = (1,1,1,1)
_DissolveColor ("Dissolve Color", Color) = (1,1,1,1)
_DissolveColorAlpha ("Dissolve Color Alpha", Range(0,1)) = 0.0
}
SubShader {
Tags { "RenderType"="Opaque" }
LOD 200
Cull Off
CGPROGRAM
#pragma surface surf Standard fullforwardshadows
Pass {
Name "FORWARD"
Tags { "LightMode" = "UniversalForward" }
#pragma target 3.0
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_fog
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
sampler2D _MainTex;
struct Attributes {
float4 positionOS : POSITION;
float2 uv : TEXCOORD0;
};
struct Input {
float2 uv_MainTex;
};
struct Varyings {
float4 positionHCS : SV_POSITION;
float2 uv : TEXCOORD0;
float fogFactor : TEXCOORD1;
};
half _Glossiness;
half _Metallic;
fixed4 _Color;
fixed3 _DissolveColor;
half _DissolveColorAlpha;
CBUFFER_START(UnityPerMaterial)
float4 _Color;
float _Glossiness;
float _Metallic;
float4 _DissolveColor;
float _DissolveColorAlpha;
float _Amount;
CBUFFER_END
//Dissolve properties
sampler2D _DissolveTexture;
half _Amount;
TEXTURE2D(_MainTex); SAMPLER(sampler_MainTex);
TEXTURE2D(_DissolveTexture); SAMPLER(sampler_DissolveTexture);
void surf (Input IN, inout SurfaceOutputStandard o) {
Varyings vert(Attributes IN)
{
Varyings OUT;
OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
OUT.uv = IN.uv;
OUT.fogFactor = ComputeFogFactor(OUT.positionHCS.z / OUT.positionHCS.w);
return OUT;
}
//Dissolve function
half dissolve_value = tex2D(_DissolveTexture, IN.uv_MainTex).r;
clip(dissolve_value - _Amount);
float4 frag(Varyings IN) : SV_Target
{
float dissolve_value = SAMPLE_TEXTURE2D(_DissolveTexture, sampler_DissolveTexture, IN.uv).r;
clip(dissolve_value - _Amount);
//Basic shader function
fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;
float4 albedo = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, IN.uv) * _Color;
o.Albedo = c.rgb;
o.Metallic = _Metallic;
o.Smoothness = _Glossiness;
o.Alpha = c.a;
o.Emission = fixed3(_DissolveColor.r, _DissolveColor.g, _DissolveColor.b) * step( dissolve_value - _Amount, _DissolveColorAlpha); //emits white color with 0.05 border size
// Simple metallic/smoothness (not PBR, but for effect)
float3 emission = _DissolveColor.rgb * step(dissolve_value - _Amount, _DissolveColorAlpha);
float3 color = albedo.rgb + emission;
float alpha = albedo.a;
color = MixFog(color, IN.fogFactor);
return float4(color, alpha);
}
ENDHLSL
}
ENDCG
}
FallBack "Diffuse"
FallBack "Universal Forward"
}

View File

@@ -2,19 +2,24 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Foot Dust Particles
m_Shader: {fileID: 203, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
@@ -54,6 +59,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
@@ -75,4 +81,6 @@ Material:
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _TintColor: {r: 0.74264705, g: 0.5023789, b: 0.5023789, a: 0.5}
- _TintColor: {r: 0.3490566, g: 0.3490566, b: 0.3490566, a: 0.5}
m_BuildTextureStacks: []
m_AllowLocking: 1

View File

@@ -1,61 +1,73 @@
Shader "Custom/Glow Shader" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
_Size ("Atmosphere Size Multiplier", Range(0,16)) = 4
_Rim ("Fade Power", Range(0,8)) = 4
_Light ("Lighting Power", Range(0,10)) = 1.4
_Ambient ("Ambient Power", Range (0,6)) = 0.8
}
SubShader {
Tags { "RenderType"="Transparent" }
LOD 200
Shader "Custom/URP_GlowShader"
{
Properties {
_Color ("Color", Color) = (1,1,1,1)
_Size ("Atmosphere Size Multiplier", Range(0,16)) = 4
_Rim ("Fade Power", Range(0,8)) = 4
_Light ("Lighting Power", Range(0,10)) = 1.4
_Ambient ("Ambient Power", Range (0,6)) = 0.8
}
SubShader {
Tags { "RenderType"="Transparent" }
LOD 200
Cull Front
Cull Front
Pass {
Name "FORWARD"
Tags { "LightMode" = "UniversalForward" }
CGPROGRAM
// Physically based Standard lighting model, and enable shadows on all light types
#pragma surface surf NegativeLambert fullforwardshadows alpha:fade
#pragma vertex vert
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_fog
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
// Use shader model 3.0 target, to get nicer looking lighting
#pragma target 3.0
struct Attributes {
float4 positionOS : POSITION;
float3 normalOS : NORMAL;
};
struct Varyings {
float4 positionHCS : SV_POSITION;
float3 normalWS : TEXCOORD0;
float3 viewDirWS : TEXCOORD1;
float fogFactor : TEXCOORD2;
};
struct Input {
float3 viewDir;
};
CBUFFER_START(UnityPerMaterial)
float4 _Color;
float _Size;
float _Rim;
float _Light;
float _Ambient;
CBUFFER_END
half _Size;
half _Rim;
half _Light;
half _Ambient;
fixed4 _Color;
Varyings vert(Attributes IN)
{
Varyings OUT;
float3 scaled = IN.positionOS.xyz + IN.positionOS.xyz * (_Size / 10.0);
OUT.positionHCS = TransformObjectToHClip(scaled);
float3 normalWS = TransformObjectToWorldNormal(-IN.normalOS); // Invert normal
OUT.normalWS = normalWS;
OUT.viewDirWS = normalize(_WorldSpaceCameraPos - TransformObjectToWorld(scaled));
OUT.fogFactor = ComputeFogFactor(OUT.positionHCS.z / OUT.positionHCS.w);
return OUT;
}
void vert (inout appdata_full v) {
v.vertex.xyz += v.vertex.xyz * _Size / 10;
v.normal *= -1;
}
float4 frag(Varyings IN) : SV_Target
{
float rim = saturate(dot(normalize(IN.viewDirWS), IN.normalWS));
float alpha = lerp(0, 1, pow(rim, _Rim));
half4 LightingNegativeLambert (SurfaceOutput s, half3 lightDir, half3 viewDir, half atten) {
s.Normal = normalize (s.Normal);
half diff = max (0, dot (-s.Normal, lightDir)) * _Light + _Ambient;
half4 c;
c.rgb = (s.Albedo * _LightColor0 * diff) * atten;
c.a = s.Alpha;
return c;
}
void surf (Input IN, inout SurfaceOutput o) {
half rim = saturate (dot (normalize (IN.viewDir), o.Normal));
// Albedo comes from a texture tinted by color
fixed4 c = _Color;
o.Albedo = c.rgb;
o.Alpha = lerp (0, 1, pow (rim, _Rim));
}
ENDCG
}
FallBack "Diffuse"
// Lighting: simple negative lambert
float3 lightDir = normalize(_MainLightPosition.xyz);
float diff = max(0, dot(-IN.normalWS, lightDir)) * _Light + _Ambient;
float3 color = _Color.rgb * _MainLightColor.rgb * diff;
color = MixFog(color, IN.fogFactor);
return float4(color, alpha * _Color.a);
}
ENDHLSL
}
}
FallBack "Universal Forward"
}

View File

@@ -1,80 +1,83 @@
Shader "Custom/Transparent Diffuse Stipple" {
Shader "Custom/URP Transparent Diffuse" {
Properties {
_MainTex("Base (RGB)", 2D) = "white" { }
_Color("Main Color", Color) = (1, 1, 1, 1)
_Glossiness ("Smoothness", Range(0,1)) = 0.5
_Metallic ("Metallic", Range(0,1)) = 0.0
_BumpMap ("Normalmap", 2D) = "bump" {}
_MainTex("Base (RGB)", 2D) = "white" {}
_Color("Main Color", Color) = (1,1,1,1)
_Glossiness("Smoothness", Range(0,1)) = 0.5
_Metallic("Metallic", Range(0,1)) = 0.0
_BumpMap("Normalmap", 2D) = "bump" {}
_TransparentAmount("Transparent Amount", Float) = 1
_StippleSize("Stipple Size", Float) = 1
}
SubShader {
Tags { "RenderType"="Opaque" }
Tags { "RenderType"="Transparent" "Queue"="Transparent" }
LOD 200
Cull Off
Blend SrcAlpha OneMinusSrcAlpha
Pass {
Name "FORWARD"
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_fog
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
CGPROGRAM
#pragma surface surf Standard fullforwardshadows
struct Attributes {
float4 positionOS : POSITION;
float2 uv : TEXCOORD0;
float2 uv2 : TEXCOORD1;
float3 normalOS : NORMAL;
float4 tangentOS : TANGENT;
};
#pragma target 3.0
struct Varyings {
float4 positionCS : SV_POSITION;
float2 uv : TEXCOORD0;
float2 uv2 : TEXCOORD1;
float3 normalWS : TEXCOORD2;
float4 screenPos : TEXCOORD3;
float3 tangentWS : TEXCOORD4;
float3 bitangentWS : TEXCOORD5;
};
float _TransparentAmount;
CBUFFER_START(UnityPerMaterial)
float4 _MainTex_ST;
float4 _Color;
float _Glossiness;
float _Metallic;
float _TransparentAmount;
float _StippleSize;
CBUFFER_END
sampler2D _MainTex;
TEXTURE2D(_MainTex); SAMPLER(sampler_MainTex);
TEXTURE2D(_BumpMap); SAMPLER(sampler_BumpMap);
fixed4 _Color;
Varyings vert(Attributes IN) {
Varyings OUT;
OUT.positionCS = TransformObjectToHClip(IN.positionOS.xyz);
OUT.uv = TRANSFORM_TEX(IN.uv, _MainTex);
OUT.uv2 = IN.uv2;
OUT.normalWS = TransformObjectToWorldNormal(IN.normalOS);
OUT.tangentWS = TransformObjectToWorldDir(IN.tangentOS.xyz);
OUT.bitangentWS = cross(OUT.normalWS, OUT.tangentWS) * IN.tangentOS.w;
OUT.screenPos = ComputeScreenPos(OUT.positionCS);
return OUT;
}
sampler2D _BumpMap;
float4 frag(Varyings IN) : SV_Target {
float4 albedo = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, IN.uv) * _Color;
float3 normalTS = UnpackNormal(SAMPLE_TEXTURE2D(_BumpMap, sampler_BumpMap, IN.uv));
float3x3 TBN = float3x3(normalize(IN.tangentWS), normalize(IN.bitangentWS), normalize(IN.normalWS));
float3 normalWS = mul(normalTS, TBN);
float _StippleSize;
float alpha = albedo.a * _TransparentAmount;
if (alpha <= 0.01)
discard;
half _Glossiness;
half _Metallic;
static const float4x4 kThresholdMatrix = {
1.0 / 17.0, 9.0 / 17.0, 3.0 / 17.0, 11.0 / 17.0,
13.0 / 17.0, 5.0 / 17.0, 15.0 / 17.0, 7.0 / 17.0,
4.0 / 17.0, 12.0 / 17.0, 2.0 / 17.0, 10.0 / 17.0,
16.0 / 17.0, 8.0 / 17.0, 14.0 / 17.0, 6.0 / 17.0
};
static const float4x4 kKernelMatrix = {
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
};
struct Input {
float2 uv_MainTex;
float4 screenPos;
float3 worldPos;
float2 uv_BumpMap;
};
void surf (Input IN, inout SurfaceOutputStandard o) {
fixed4 c = tex2D(_MainTex, IN.uv_MainTex)* _Color;
o.Albedo = c.rgb;
o.Alpha = c.a;
o.Metallic = _Metallic;
o.Smoothness = _Glossiness;
o.Normal = UnpackNormal (tex2D (_BumpMap, IN.uv_BumpMap));
// Unproject the screen pixel coordiante
float2 pos = IN.screenPos.xy / IN.screenPos.w;
pos *= _ScreenParams.xy * _StippleSize;
// Clip pixel within [start, end] distance from camera
float interpDist = _TransparentAmount;
clip(interpDist - kThresholdMatrix[fmod(pos.x, 4)] * kKernelMatrix[fmod(pos.y, 4)]);
float3 color = albedo.rgb;
return float4(color, alpha);
}
ENDHLSL
}
ENDCG
}
FallBack "Diffuse"
FallBack "Universal Forward"
}

View File

@@ -1,109 +1,223 @@
Shader "Outlined/Diffuse" {
Properties {
_Color ("Main Color", Color) = (.5,.5,.5,1)
_OutlineColor ("Outline Color", Color) = (0,0,0,1)
_Outline ("Outline width", Range (0, 1)) = .1
_MainTex ("Base (RGB)", 2D) = "white" { }
}
Shader "Custom/URP_Outline_Lit"
{
Properties
{
[Header(Main)]
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Color ("Base Color", Color) = (1,1,1,1)
CGINCLUDE
#include "UnityCG.cginc"
[Header(Outline)]
_OutlineColor ("Outline Color", Color) = (0,0,0,1)
_OutlineWidth ("Outline Width", Range(0, 0.2)) = 0.02
}
struct appdata {
float4 vertex : POSITION;
float3 normal : NORMAL;
};
SubShader
{
// CAMBIO 1: Cambiamos a Opaque para que reciba sombras correctamente
Tags
{
"RenderType" = "Opaque"
"RenderPipeline" = "UniversalPipeline"
"Queue" = "Geometry"
}
struct v2f {
float4 pos : POSITION;
float4 color : COLOR;
};
// ─────────────────────────────────────────────────────────────
// PASS 1 Main (Tu código original)
// ─────────────────────────────────────────────────────────────
Pass
{
Name "ForwardLit"
Tags { "LightMode" = "UniversalForward" }
uniform float _Outline;
uniform float4 _OutlineColor;
Cull Back
ZWrite On
ZTest LEqual
v2f vert(appdata v) {
// just make a copy of incoming vertex data but scaled according to normal direction
v2f o;
// CAMBIO 2: Desactivamos la transparencia del material principal
Blend One Zero
v.vertex *= ( 1 + _Outline);
// Tu lógica perfecta de Stencil para que el outline no se raye por dentro
Stencil
{
Ref 1
Comp Always
Pass Replace
}
o.pos = UnityObjectToClipPos(v.vertex);
HLSLPROGRAM
#pragma vertex MainVert
#pragma fragment MainFrag
//float3 norm = normalize(mul ((float3x3)UNITY_MATRIX_IT_MV, v.normal));
//float2 offset = TransformViewToProjection(norm.xy);
#pragma multi_compile _ _MAIN_LIGHT_SHADOWS _MAIN_LIGHT_SHADOWS_CASCADE _MAIN_LIGHT_SHADOWS_SCREEN
#pragma multi_compile_fragment _ _SHADOWS_SOFT
o.color = _OutlineColor;
return o;
}
ENDCG
SubShader {
//Tags {"Queue" = "Geometry+100" }
CGPROGRAM
#pragma surface surf Lambert
sampler2D _MainTex;
fixed4 _Color;
struct Input {
float2 uv_MainTex;
};
void surf (Input IN, inout SurfaceOutput o) {
fixed4 c = tex2D(_MainTex, IN.uv_MainTex) * _Color;
o.Albedo = c.rgb;
o.Alpha = c.a;
}
ENDCG
// note that a vertex shader is specified here but its using the one above
Pass {
Name "OUTLINE"
Tags { "LightMode" = "Always" }
Cull Front
ZWrite On
ColorMask RGB
Blend SrcAlpha OneMinusSrcAlpha
//Offset 50,50
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
half4 frag(v2f i) :COLOR { return i.color; }
ENDCG
}
}
SubShader {
CGPROGRAM
#pragma surface surf Lambert
sampler2D _MainTex;
fixed4 _Color;
struct Input {
float2 uv_MainTex;
};
void surf (Input IN, inout SurfaceOutput o) {
fixed4 c = tex2D(_MainTex, IN.uv_MainTex) * _Color;
o.Albedo = c.rgb;
o.Alpha = c.a;
}
ENDCG
Pass {
Name "OUTLINE"
Tags { "LightMode" = "Always" }
Cull Front
ZWrite On
ColorMask RGB
Blend SrcAlpha OneMinusSrcAlpha
SetTexture [_MainTex] { combine primary }
}
}
Fallback "Diffuse"
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl"
TEXTURE2D(_MainTex);
SAMPLER(sampler_MainTex);
CBUFFER_START(UnityPerMaterial)
float4 _MainTex_ST;
float4 _Color;
float4 _OutlineColor;
float _OutlineWidth;
CBUFFER_END
struct Attributes
{
float4 positionOS : POSITION;
float3 normalOS : NORMAL;
float2 uv : TEXCOORD0;
};
struct Varyings
{
float4 positionHCS : SV_POSITION;
float3 positionWS : TEXCOORD1;
float3 normalWS : NORMAL;
float2 uv : TEXCOORD0;
};
Varyings MainVert(Attributes IN)
{
Varyings OUT;
OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
OUT.positionWS = TransformObjectToWorld(IN.positionOS.xyz);
OUT.normalWS = TransformObjectToWorldNormal(IN.normalOS);
OUT.uv = TRANSFORM_TEX(IN.uv, _MainTex);
return OUT;
}
half4 MainFrag(Varyings IN) : SV_Target
{
half4 albedo = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, IN.uv) * _Color;
float4 shadowCoord = TransformWorldToShadowCoord(IN.positionWS);
Light mainLight = GetMainLight(shadowCoord);
half NdotL = saturate(dot(normalize(IN.normalWS), mainLight.direction));
half3 diffuse = mainLight.color * (NdotL * mainLight.shadowAttenuation);
half3 ambient = SampleSH(IN.normalWS);
half3 finalColor = albedo.rgb * (diffuse + ambient);
return half4(finalColor, albedo.a);
}
ENDHLSL
}
// ─────────────────────────────────────────────────────────────
// PASS 2 ShadowCaster (Para proyectar sombras)
// ─────────────────────────────────────────────────────────────
Pass
{
Name "ShadowCaster"
Tags{"LightMode" = "ShadowCaster"}
ZWrite On
ZTest LEqual
ColorMask 0
Cull Back
HLSLPROGRAM
#pragma vertex ShadowPassVertex
#pragma fragment ShadowPassFragment
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl"
struct Attributes
{
float4 positionOS : POSITION;
float3 normalOS : NORMAL;
};
struct Varyings
{
float4 positionCS : SV_POSITION;
};
Varyings ShadowPassVertex(Attributes input)
{
Varyings output;
float3 positionWS = TransformObjectToWorld(input.positionOS.xyz);
float3 normalWS = TransformObjectToWorldNormal(input.normalOS);
// CAMBIO 3: Usamos la posición de la luz principal para que no dé errores
float3 lightDir = _MainLightPosition.xyz;
output.positionCS = TransformWorldToHClip(ApplyShadowBias(positionWS, normalWS, lightDir));
return output;
}
half4 ShadowPassFragment(Varyings input) : SV_TARGET
{
return 0;
}
ENDHLSL
}
// ─────────────────────────────────────────────────────────────
// PASS 3 Outline (Tu código original intacto)
// ─────────────────────────────────────────────────────────────
Pass
{
Name "Outline"
Tags { "LightMode" = "SRPDefaultUnlit" }
Cull Front
ZWrite Off
ZTest LEqual
Blend SrcAlpha OneMinusSrcAlpha
Stencil
{
Ref 1
Comp NotEqual
}
HLSLPROGRAM
#pragma vertex OutlineVert
#pragma fragment OutlineFrag
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
CBUFFER_START(UnityPerMaterial)
float4 _MainTex_ST;
float4 _Color;
float4 _OutlineColor;
float _OutlineWidth;
CBUFFER_END
struct Attributes
{
float4 positionOS : POSITION;
float3 normalOS : NORMAL;
};
struct Varyings
{
float4 positionHCS : SV_POSITION;
};
Varyings OutlineVert(Attributes IN)
{
Varyings OUT;
OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
float3 normalWS = TransformObjectToWorldNormal(IN.normalOS);
float3 normalCS = mul((float3x3)UNITY_MATRIX_VP, normalWS);
float2 offset = normalize(normalCS.xy) * (_OutlineWidth * OUT.positionHCS.w);
OUT.positionHCS.xy += offset;
return OUT;
}
half4 OutlineFrag(Varyings IN) : SV_Target
{
return _OutlineColor;
}
ENDHLSL
}
}
FallBack "Hidden/Universal Render Pipeline/FallbackError"
}

View File

@@ -1,10 +1,11 @@
Shader "Custom/Projector" {
Shader "Custom/URP_Projector"
{
Properties {
_Color ("Tint Color", Color) = (1,1,1,1)
_Attenuation ("Falloff", Range(0.0, 1.0)) = 1.0
_ShadowTex ("Cookie", 2D) = "gray" {}
}
Subshader {
SubShader {
Tags {"Queue"="Transparent"}
Pass {
ZWrite Off
@@ -12,41 +13,51 @@
Blend SrcAlpha One // Additive blending
Offset -1, -1
CGPROGRAM
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#pragma multi_compile_fog
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
struct v2f {
float4 uvShadow : TEXCOORD0;
float4 pos : SV_POSITION;
struct Attributes {
float4 positionOS : POSITION;
};
struct Varyings {
float4 positionHCS : SV_POSITION;
float4 uvShadow : TEXCOORD0;
float fogFactor : TEXCOORD1;
};
CBUFFER_START(UnityPerMaterial)
float4 _Color;
float _Attenuation;
CBUFFER_END
TEXTURE2D(_ShadowTex); SAMPLER(sampler_ShadowTex);
float4x4 unity_Projector;
float4x4 unity_ProjectorClip;
v2f vert (float4 vertex : POSITION)
Varyings vert(Attributes IN)
{
v2f o;
o.pos = UnityObjectToClipPos (vertex);
o.uvShadow = mul (unity_Projector, vertex);
return o;
Varyings OUT;
OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
OUT.uvShadow = mul(unity_Projector, IN.positionOS);
OUT.fogFactor = ComputeFogFactor(OUT.positionHCS.z / OUT.positionHCS.w);
return OUT;
}
sampler2D _ShadowTex;
fixed4 _Color;
float _Attenuation;
fixed4 frag (v2f i) : SV_Target
float4 frag(Varyings IN) : SV_Target
{
// Apply alpha mask
fixed4 texCookie = tex2Dproj (_ShadowTex, UNITY_PROJ_COORD(i.uvShadow));
fixed4 outColor = _Color * texCookie.a;
// Attenuation
float depth = i.uvShadow.z; // [-1 (near), 1 (far)]
return outColor * clamp(1.0 - abs(depth) + _Attenuation, 0.0, 1.0);
float2 projUV = IN.uvShadow.xy / IN.uvShadow.w;
float4 texCookie = SAMPLE_TEXTURE2D(_ShadowTex, sampler_ShadowTex, projUV);
float4 outColor = _Color * texCookie.a;
float depth = IN.uvShadow.z;
float atten = clamp(1.0 - abs(depth) + _Attenuation, 0.0, 1.0);
float3 color = outColor.rgb * atten;
color = MixFog(color, IN.fogFactor);
return float4(color, outColor.a);
}
ENDCG
ENDHLSL
}
}
}

View File

@@ -1,164 +1,76 @@
Shader "Custom/Simple Blur Shader" {
Shader "Custom/URP_SimpleBlurShader"
{
Properties {
_Size ("Blur", Range(0, 30)) = 1
[HideInInspector] _MainTex ("Texture (RGB)", 2D) = "white" {}
// _TintColor ("Tint Color", Color) = (1,1,1,1)
}
Category {
// We must be transparent, so other objects are drawn before this one.
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Opaque" }
SubShader
{
ZWrite Off
// Horizontal blur
GrabPass
{
"_HBlur"
}
SubShader {
Tags { "Queue"="Transparent" "RenderType"="Transparent" }
LOD 100
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
Pass
{
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma fragmentoption ARB_precision_hint_fastest
#include "UnityCG.cginc"
Pass {
Name "FORWARD"
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_fog
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
struct appdata_t {
float4 vertex : POSITION;
float2 texcoord: TEXCOORD0;
float4 color : COLOR;
};
struct Attributes {
float4 positionOS : POSITION;
float2 uv : TEXCOORD0;
float4 color : COLOR;
};
struct v2f {
float4 vertex : POSITION;
float4 uvgrab : TEXCOORD0;
float2 uvmain : TEXCOORD1;
float4 color : COLOR;
};
struct Varyings {
float4 positionHCS : SV_POSITION;
float2 uv : TEXCOORD0;
float4 color : COLOR;
float fogFactor : TEXCOORD1;
};
sampler2D _MainTex;
float4 _MainTex_ST;
v2f vert (appdata_t v)
{
v2f o;
o.vertex = UnityObjectToClipPos(v.vertex);
#if UNITY_UV_STARTS_AT_TOP
float scale = -1.0;
#else
float scale = 1.0;
#endif
o.uvgrab.xy = (float2(o.vertex.x, o.vertex.y * scale) + o.vertex.w) * 0.5;
o.uvgrab.zw = o.vertex.zw;
o.uvmain = TRANSFORM_TEX(v.texcoord, _MainTex);
o.color = v.color;
return o;
}
sampler2D _HBlur;
float4 _HBlur_TexelSize;
CBUFFER_START(UnityPerMaterial)
float _Size;
CBUFFER_END
half4 frag( v2f i ) : COLOR
{
float alpha = tex2D(_MainTex, i.uvmain).a * i.color.a;
half4 sum = half4(0,0,0,0);
TEXTURE2D(_MainTex); SAMPLER(sampler_MainTex);
TEXTURE2D(_CameraOpaqueTexture); SAMPLER(sampler_CameraOpaqueTexture);
float4 _MainTex_ST;
#define GRABPIXEL(weight,kernelx) tex2Dproj( _HBlur, UNITY_PROJ_COORD(float4(i.uvgrab.x + _HBlur_TexelSize.x * kernelx * _Size * alpha, i.uvgrab.y, i.uvgrab.z, i.uvgrab.w))) * weight
sum += GRABPIXEL(0.05, -4.0);
sum += GRABPIXEL(0.09, -3.0);
sum += GRABPIXEL(0.12, -2.0);
sum += GRABPIXEL(0.15, -1.0);
sum += GRABPIXEL(0.18, 0.0);
sum += GRABPIXEL(0.15, +1.0);
sum += GRABPIXEL(0.12, +2.0);
sum += GRABPIXEL(0.09, +3.0);
sum += GRABPIXEL(0.05, +4.0);
return sum ;
}
ENDCG
}
// Vertical blur
GrabPass
Varyings vert(Attributes IN)
{
"_VBlur"
Varyings OUT;
OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
OUT.uv = TRANSFORM_TEX(IN.uv, _MainTex);
OUT.color = IN.color;
OUT.fogFactor = ComputeFogFactor(OUT.positionHCS.z / OUT.positionHCS.w);
return OUT;
}
Pass
float4 frag(Varyings IN) : SV_Target
{
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma fragmentoption ARB_precision_hint_fastest
#include "UnityCG.cginc"
float2 uv = IN.uv;
float alpha = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, uv).a * IN.color.a;
float2 texelSize = float2(1.0/_ScreenParams.x, 1.0/_ScreenParams.y);
float4 sum = float4(0,0,0,0);
struct appdata_t {
float4 vertex : POSITION;
float2 texcoord: TEXCOORD0;
float4 color : COLOR;
};
// Horizontal blur
sum += SAMPLE_TEXTURE2D(_CameraOpaqueTexture, sampler_CameraOpaqueTexture, uv + float2(-4.0, 0.0) * texelSize * _Size * alpha) * 0.05;
sum += SAMPLE_TEXTURE2D(_CameraOpaqueTexture, sampler_CameraOpaqueTexture, uv + float2(-3.0, 0.0) * texelSize * _Size * alpha) * 0.09;
sum += SAMPLE_TEXTURE2D(_CameraOpaqueTexture, sampler_CameraOpaqueTexture, uv + float2(-2.0, 0.0) * texelSize * _Size * alpha) * 0.12;
sum += SAMPLE_TEXTURE2D(_CameraOpaqueTexture, sampler_CameraOpaqueTexture, uv + float2(-1.0, 0.0) * texelSize * _Size * alpha) * 0.15;
sum += SAMPLE_TEXTURE2D(_CameraOpaqueTexture, sampler_CameraOpaqueTexture, uv) * 0.18;
sum += SAMPLE_TEXTURE2D(_CameraOpaqueTexture, sampler_CameraOpaqueTexture, uv + float2(1.0, 0.0) * texelSize * _Size * alpha) * 0.15;
sum += SAMPLE_TEXTURE2D(_CameraOpaqueTexture, sampler_CameraOpaqueTexture, uv + float2(2.0, 0.0) * texelSize * _Size * alpha) * 0.12;
sum += SAMPLE_TEXTURE2D(_CameraOpaqueTexture, sampler_CameraOpaqueTexture, uv + float2(3.0, 0.0) * texelSize * _Size * alpha) * 0.09;
sum += SAMPLE_TEXTURE2D(_CameraOpaqueTexture, sampler_CameraOpaqueTexture, uv + float2(4.0, 0.0) * texelSize * _Size * alpha) * 0.05;
struct v2f {
float4 vertex : POSITION;
float4 uvgrab : TEXCOORD0;
float2 uvmain : TEXCOORD1;
float4 color : COLOR;
};
sampler2D _MainTex;
float4 _MainTex_ST;
v2f vert (appdata_t v) {
v2f o;
o.vertex = UnityObjectToClipPos(v.vertex);
#if UNITY_UV_STARTS_AT_TOP
float scale = -1.0;
#else
float scale = 1.0;
#endif
o.uvgrab.xy = (float2(o.vertex.x, o.vertex.y * scale) + o.vertex.w) * 0.5;
o.uvgrab.zw = o.vertex.zw;
o.uvmain = TRANSFORM_TEX(v.texcoord, _MainTex);
o.color = v.color;
return o;
}
sampler2D _VBlur;
float4 _VBlur_TexelSize;
float _Size;
//fixed4 _TintColor;
half4 frag( v2f i ) : COLOR
{
float alpha = tex2D(_MainTex, i.uvmain).a * i.color.a;
half4 sum = half4(0,0,0,0);
#define GRABPIXEL(weight,kernely) tex2Dproj( _VBlur, UNITY_PROJ_COORD(float4(i.uvgrab.x, i.uvgrab.y + _VBlur_TexelSize.y * kernely * _Size * alpha, i.uvgrab.z, i.uvgrab.w))) * weight
sum += GRABPIXEL(0.05, -4.0);
sum += GRABPIXEL(0.09, -3.0);
sum += GRABPIXEL(0.12, -2.0);
sum += GRABPIXEL(0.15, -1.0);
sum += GRABPIXEL(0.18, 0.0);
sum += GRABPIXEL(0.15, +1.0);
sum += GRABPIXEL(0.12, +2.0);
sum += GRABPIXEL(0.09, +3.0);
sum += GRABPIXEL(0.05, +4.0);
return sum + i.color * alpha;
}
ENDCG
sum.rgb = MixFog(sum.rgb, IN.fogFactor);
return sum;
}
ENDHLSL
}
}
}

View File

@@ -1,62 +1,69 @@
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
Shader "Custom/additive" {
Properties {
Shader "Custom/URP_Additive"
{
Properties
{
_MainTex ("Base", 2D) = "white" {}
_TintColor ("TintColor", Color) = (1.0, 1.0, 1.0, 1.0)
}
CGINCLUDE
#include "UnityCG.cginc"
sampler2D _MainTex;
fixed4 _TintColor;
half4 _MainTex_ST;
struct v2f {
half4 pos : SV_POSITION;
half2 uv : TEXCOORD0;
fixed4 vertexColor : COLOR;
};
v2f vert(appdata_full v) {
v2f o;
o.pos = UnityObjectToClipPos (v.vertex);
o.uv = TRANSFORM_TEX(v.texcoord, _MainTex);
o.vertexColor = v.color * _TintColor;
return o;
}
fixed4 frag( v2f i ) : COLOR {
return tex2D (_MainTex, i.uv.xy) * i.vertexColor;
}
ENDCG
SubShader {
Tags { "RenderType" = "Transparent" "Queue" = "Transparent"}
SubShader
{
Tags { "RenderType" = "Transparent" "Queue" = "Transparent" }
LOD 100
Cull Off
Lighting Off
ZWrite Off
Fog { Mode Off }
Blend One One
Pass {
Pass
{
Name "FORWARD"
Tags { "LightMode" = "UniversalForward" }
CGPROGRAM
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_fog
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
#pragma vertex vert
#pragma fragment frag
#pragma fragmentoption ARB_precision_hint_fastest
struct Attributes
{
float4 positionOS : POSITION;
float2 uv : TEXCOORD0;
float4 color : COLOR;
};
ENDCG
struct Varyings
{
float4 positionHCS : SV_POSITION;
float2 uv : TEXCOORD0;
float4 color : COLOR;
float fogFactor : TEXCOORD1;
};
CBUFFER_START(UnityPerMaterial)
float4 _TintColor;
CBUFFER_END
TEXTURE2D(_MainTex); SAMPLER(sampler_MainTex);
Varyings vert(Attributes IN)
{
Varyings OUT;
OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
OUT.uv = IN.uv;
OUT.color = IN.color * _TintColor;
OUT.fogFactor = ComputeFogFactor(OUT.positionHCS.z / OUT.positionHCS.w);
return OUT;
}
float4 frag(Varyings IN) : SV_Target
{
float4 tex = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, IN.uv);
float4 col = tex * IN.color;
col.rgb = MixFog(col.rgb, IN.fogFactor);
return col;
}
ENDHLSL
}
}
FallBack Off
}

View File

@@ -1,59 +1,61 @@
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
Shader "Custom/laserShader" {
Shader "Custom/URP_LaserShader"
{
Properties {
_MainTex ("Base", 2D) = "white" {}
_TintColor ("TintColor", Color) = (0.5, 0.5, 0.5, 0.5)
}
CGINCLUDE
#include "UnityCG.cginc"
sampler2D _MainTex;
fixed4 _TintColor;
struct v2f {
half4 pos : SV_POSITION;
half2 uv : TEXCOORD0;
};
v2f vert(appdata_full v) {
v2f o;
o.pos = UnityObjectToClipPos (v.vertex);
o.uv.xy = v.texcoord.xy;
return o;
}
fixed4 frag( v2f i ) : COLOR {
return tex2D (_MainTex, i.uv.xy) * _TintColor;
}
ENDCG
SubShader {
Tags { "RenderType" = "Transparent" "Queue" = "Transparent"}
Tags { "RenderType" = "Transparent" "Queue" = "Transparent" }
LOD 100
Cull Off
Lighting Off
ZWrite Off
Fog { Mode Off }
Blend SrcAlpha One
Pass {
Pass {
Name "FORWARD"
Tags { "LightMode" = "UniversalForward" }
CGPROGRAM
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_fog
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
#pragma vertex vert
#pragma fragment frag
#pragma fragmentoption ARB_precision_hint_fastest
struct Attributes {
float4 positionOS : POSITION;
float2 uv : TEXCOORD0;
};
ENDCG
struct Varyings {
float4 positionHCS : SV_POSITION;
float2 uv : TEXCOORD0;
float fogFactor : TEXCOORD1;
};
CBUFFER_START(UnityPerMaterial)
float4 _TintColor;
CBUFFER_END
TEXTURE2D(_MainTex); SAMPLER(sampler_MainTex);
Varyings vert(Attributes IN)
{
Varyings OUT;
OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
OUT.uv = IN.uv;
OUT.fogFactor = ComputeFogFactor(OUT.positionHCS.z / OUT.positionHCS.w);
return OUT;
}
float4 frag(Varyings IN) : SV_Target
{
float4 tex = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, IN.uv);
float4 col = tex * _TintColor;
col.rgb = MixFog(col.rgb, IN.fogFactor);
return col;
}
ENDHLSL
}
}
FallBack Off
}

View File

@@ -1,34 +1,66 @@
Shader "Custom/prueba" {
Properties {
_Color ("Main Color", Color) = (1,1,1,1)
_SpecColor ("Spec Color", Color) = (1,1,1,0)
_Emission ("Emissive Color", Color) = (0,0,0,0)
_Shininess ("Shininess", Range (0.1, 1)) = 0.7
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
}
SubShader {
Tags {"RenderType"="Transparent" "Queue"="Transparent"}
// Render into depth buffer only
Shader "Custom/URP_prueba"
{
Properties {
_Color ("Main Color", Color) = (1,1,1,1)
_SpecColor ("Spec Color", Color) = (1,1,1,0)
_Emission ("Emissive Color", Color) = (0,0,0,0)
_Shininess ("Shininess", Range (0.1, 1)) = 0.7
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
}
SubShader {
Tags {"RenderType"="Transparent" "Queue"="Transparent"}
LOD 200
Pass {
ColorMask 0
}
// Render normally
Pass {
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
ColorMask RGB
Material {
Diffuse [_Color]
Ambient [_Color]
Shininess [_Shininess]
Specular [_SpecColor]
Emission [_Emission]
}
Lighting On
SetTexture [_MainTex] {
Combine texture * primary DOUBLE, texture * primary
Name "FORWARD"
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
ColorMask RGB
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_fog
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
struct Attributes {
float4 positionOS : POSITION;
float2 uv : TEXCOORD0;
};
struct Varyings {
float4 positionHCS : SV_POSITION;
float2 uv : TEXCOORD0;
float fogFactor : TEXCOORD1;
};
CBUFFER_START(UnityPerMaterial)
float4 _Color;
float4 _SpecColor;
float4 _Emission;
float _Shininess;
CBUFFER_END
TEXTURE2D(_MainTex); SAMPLER(sampler_MainTex);
Varyings vert(Attributes IN)
{
Varyings OUT;
OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
OUT.uv = IN.uv;
OUT.fogFactor = ComputeFogFactor(OUT.positionHCS.z / OUT.positionHCS.w);
return OUT;
}
float4 frag(Varyings IN) : SV_Target
{
float4 albedo = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, IN.uv) * _Color;
float3 emission = _Emission.rgb;
float3 specular = _SpecColor.rgb * _Shininess;
float3 color = albedo.rgb + emission + specular;
float alpha = albedo.a;
color = MixFog(color, IN.fogFactor);
return float4(color, alpha);
}
ENDHLSL
}
}
}
}

View File

@@ -1,17 +1,58 @@
Shader "Custom/textShader" {
Shader "Custom/URP_textShader"
{
Properties {
_MainTex ("Font Texture", 2D) = "white" {}
_Color ("Text Color", Color) = (1,1,1,1)
}
SubShader {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
Lighting Off Cull Off ZWrite Off Fog { Mode Off }
Blend SrcAlpha OneMinusSrcAlpha
Pass{
Color [_Color]
SetTexture [_MainTex] {
combine primary, texture * primary
}
}
}
_MainTex ("Font Texture", 2D) = "white" {}
_Color ("Text Color", Color) = (1,1,1,1)
}
SubShader {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
LOD 100
Cull Off
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
Pass {
Name "FORWARD"
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_fog
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
struct Attributes {
float4 positionOS : POSITION;
float2 uv : TEXCOORD0;
};
struct Varyings {
float4 positionHCS : SV_POSITION;
float2 uv : TEXCOORD0;
float fogFactor : TEXCOORD1;
};
CBUFFER_START(UnityPerMaterial)
float4 _Color;
CBUFFER_END
TEXTURE2D(_MainTex); SAMPLER(sampler_MainTex);
Varyings vert(Attributes IN)
{
Varyings OUT;
OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
OUT.uv = IN.uv;
OUT.fogFactor = ComputeFogFactor(OUT.positionHCS.z / OUT.positionHCS.w);
return OUT;
}
float4 frag(Varyings IN) : SV_Target
{
float4 tex = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, IN.uv);
float4 col = tex * _Color;
col.rgb = MixFog(col.rgb, IN.fogFactor);
return col;
}
ENDHLSL
}
}
}

View File

@@ -323,6 +323,38 @@ ModelImporter:
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Anular_01.L
humanName: Left Middle Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Anular_02.L
humanName: Left Middle Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Anular_01.R
humanName: Right Middle Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Anular_02.R
humanName: Right Middle Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
skeleton:
- name: SM_Alien_Flaco(Clone)
parentName:
@@ -337,193 +369,193 @@ ModelImporter:
- name: Control_Maestro
parentName: Armature
position: {x: -0.0000000023841857, y: 0.00033604132, z: 0.00011200547}
rotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071067}
rotation: {x: 0.7071068, y: 0, z: -0, w: 0.7071067}
scale: {x: 1, y: 1, z: 1}
- name: Control_Cadera
parentName: Control_Maestro
position: {x: -0, y: 0.006137542, z: -0.0004025848}
rotation: {x: 0.7069518, y: -0.014808983, z: 0.7069516, w: -0.014808953}
scale: {x: 1, y: 1, z: 1.0000007}
rotation: {x: 0.7069518, y: -0.014809673, z: 0.7069516, w: -0.014808178}
scale: {x: 0.99999994, y: 0.9999999, z: 1.0000007}
- name: Cadera
parentName: Control_Cadera
position: {x: -9.877112e-10, y: 0.0006470664, z: -0.0053928564}
rotation: {x: -0.00000029802325, y: -0.000000015832486, z: -0.9999992, w: -0.0012740447}
scale: {x: 1.0000002, y: 1, z: 1.0000001}
position: {x: -1.8627199e-11, y: 0.00064706436, z: -1.110223e-16}
rotation: {x: 0.00000031376155, y: 1.8329259e-13, z: 0.9999992, w: 0.001274065}
scale: {x: 0.99999994, y: 0.9999999, z: 1}
- name: Columna_01
parentName: Cadera
position: {x: 3.7252153e-11, y: 0.00068895385, z: 7.105427e-17}
rotation: {x: -0.000000029034593, y: 0.00000026859297, z: 0.044297244, w: 0.99901843}
scale: {x: 1.0000001, y: 0.9999998, z: 1.000001}
rotation: {x: 0.000000005931511, y: 0.00000017952871, z: 0.04429725, w: 0.99901843}
scale: {x: 0.9999999, y: 0.9999997, z: 1.0000006}
- name: Columna_02
parentName: Columna_01
position: {x: 7.45059e-11, y: 0.0006906298, z: -8.659739e-17}
rotation: {x: -0.00000014596213, y: -0.00000005170304, z: -0.06655902, w: 0.9977825}
scale: {x: 1, y: 1, z: 1.0000006}
rotation: {x: 0.0000000029263054, y: -0.0000000018330778, z: -0.06655902, w: 0.99778247}
scale: {x: 0.9999999, y: 0.99999994, z: 1}
- name: Columna_03
parentName: Columna_02
position: {x: 2.793978e-11, y: 0.0012618416, z: -1.4294121e-17}
rotation: {x: 0.00000014637602, y: 0.000000058367913, z: 0.027846452, w: 0.9996122}
scale: {x: 1.0000004, y: 0.9999999, z: 1.0000001}
rotation: {x: -0.0000000012053405, y: 0.00000000115632, z: 0.027846439, w: 0.9996122}
scale: {x: 0.99999994, y: 0.9999999, z: 1}
- name: Cuello
parentName: Columna_03
position: {x: -1.117586e-10, y: 0.0015918013, z: 1.7763568e-17}
rotation: {x: -2.0770585e-10, y: -0.000000088852616, z: -0.025221389, w: 0.99968195}
scale: {x: 0.9999996, y: 0.9999996, z: 1.0000008}
rotation: {x: 0.0000000010942879, y: -0.000000001054476, z: -0.025221363, w: 0.9996819}
scale: {x: 0.99999976, y: 0.99999964, z: 1.0000007}
- name: Cabeza
parentName: Cuello
position: {x: -1.0243382e-11, y: 0.00085936184, z: -5.359269e-17}
rotation: {x: -9.06463e-10, y: -9.516724e-10, z: 0.039243814, w: 0.9992297}
scale: {x: 1.0000004, y: 1.0000001, z: 1.0000001}
rotation: {x: -0.0000000017209099, y: 0.0000000015181731, z: 0.0392438, w: 0.99922967}
scale: {x: 1, y: 1, z: 1}
- name: Hombro.L
parentName: Columna_03
position: {x: -0.000018270845, y: 0.0012299367, z: -0.00063639355}
rotation: {x: -0.6856984, y: 0.017299687, z: -0.018353242, w: 0.7274487}
scale: {x: 0.99999994, y: 0.9999999, z: 0.9999997}
rotation: {x: -0.6856985, y: 0.017299628, z: -0.018353116, w: 0.7274486}
scale: {x: 1, y: 0.99999994, z: 0.9999999}
- name: Brazo.L
parentName: Hombro.L
position: {x: 5.5872817e-11, y: 0.0008655179, z: -0.0000000010999686}
rotation: {x: -0.055398315, y: 0.0070168804, z: 0.0010979194, w: 0.99843913}
scale: {x: 1.0000006, y: 1, z: 1.0000007}
rotation: {x: -0.37750757, y: 0.02499395, z: 0.010650709, w: 0.92560786}
scale: {x: 1.0000002, y: 1, z: 1.0000005}
- name: Antebrazo.L
parentName: Brazo.L
position: {x: -3.8417054e-11, y: 0.0023671936, z: -2.0605512e-10}
rotation: {x: 0.031437233, y: -0.9978987, z: -0.028597986, w: -0.04891016}
scale: {x: 0.99999934, y: 1.0000011, z: 1.0000008}
rotation: {x: -0.18750848, y: 0.98001975, z: 0.041061115, w: 0.052113693}
scale: {x: 0.99999976, y: 1.0000012, z: 1.0000006}
- name: Mano.L
parentName: Antebrazo.L
position: {x: 1.0710209e-10, y: 0.0022193054, z: -2.43308e-10}
rotation: {x: -0.04929869, y: -0.68503034, z: -0.070268765, w: 0.72344}
scale: {x: 0.9999997, y: 1, z: 0.9999996}
rotation: {x: -0.045641407, y: -0.7167203, z: -0.08614931, w: 0.69051224}
scale: {x: 1.0000001, y: 1.0000001, z: 0.9999995}
- name: "Me\xF1ique_01.L"
parentName: Mano.L
position: {x: -0.000053266598, y: 0.0005026223, z: 0.00027815744}
rotation: {x: 0.059633426, y: -0.06618709, z: -0.046870466, w: 0.9949203}
scale: {x: 1, y: 1.0000011, z: 0.9999999}
rotation: {x: 0.0017495392, y: -0.06028347, z: -0.098125495, w: 0.993345}
scale: {x: 1, y: 1, z: 1}
- name: "Me\xF1ique_02.L"
parentName: "Me\xF1ique_01.L"
position: {x: -7.4505804e-11, y: 0.00051521044, z: -3.7252902e-11}
rotation: {x: 0.06154576, y: 0.03132929, z: -0.12486809, w: 0.98976696}
scale: {x: 0.9999995, y: 1.0000013, z: 1.0000013}
rotation: {x: 0.061545815, y: 0.031329125, z: -0.12486831, w: 0.9897669}
scale: {x: 1.0000002, y: 1.0000001, z: 1.0000001}
- name: Pulgar_01.L
parentName: Mano.L
position: {x: 0.00014655155, y: 0.00026031132, z: -0.00036921585}
rotation: {x: -0.03219802, y: 0.7281188, z: 0.048705757, w: -0.6829598}
scale: {x: 0.99999976, y: 1.0000004, z: 0.9999998}
rotation: {x: -0.30302718, y: -0.6826305, z: 0.11090358, w: 0.6556604}
scale: {x: 0.99999994, y: 0.9999998, z: 1}
- name: Pulgar_02.L
parentName: Pulgar_01.L
position: {x: -4.4703483e-10, y: 0.00036708667, z: -7.4505804e-11}
rotation: {x: 0.05718316, y: -0.022504324, z: -0.3347756, w: 0.940292}
scale: {x: 1.0000005, y: 0.9999991, z: 1}
- name: Hombro.R
parentName: Columna_03
position: {x: -0.000018270974, y: 0.0012299367, z: 0.00063639355}
rotation: {x: -0.018353073, y: -0.72744864, z: -0.6856985, w: -0.017299796}
scale: {x: 0.9999996, y: 0.9999998, z: 0.9999997}
- name: Brazo.R
parentName: Hombro.R
position: {x: -8.879968e-11, y: 0.00086551707, z: 0.0000000010493726}
rotation: {x: 0.055398025, y: 0.00701685, z: 0.0010981858, w: -0.99843913}
scale: {x: 1.0000005, y: 0.9999992, z: 1.0000001}
- name: Antebrazo.R
parentName: Brazo.R
position: {x: -3.0267983e-11, y: 0.002367194, z: -1.7695129e-10}
rotation: {x: -0.03143719, y: -0.9978987, z: -0.028597627, w: 0.04890988}
scale: {x: 0.99999994, y: 1.0000001, z: 1.0000014}
- name: Mano.R
parentName: Antebrazo.R
position: {x: 1.3737007e-10, y: 0.002219306, z: -7.380731e-10}
rotation: {x: -0.049298815, y: 0.68503004, z: 0.07026887, w: 0.72344035}
scale: {x: 0.9999999, y: 1.0000006, z: 0.99999976}
- name: "Me\xF1ique_01.R"
parentName: Mano.R
position: {x: 0.000053266995, y: 0.00050262344, z: 0.00027815788}
rotation: {x: 0.059633113, y: 0.06618615, z: 0.04687029, w: 0.9949204}
scale: {x: 0.9999994, y: 1.0000002, z: 0.99999976}
- name: "Me\xF1ique_02.R"
parentName: "Me\xF1ique_01.R"
position: {x: 4.842877e-10, y: 0.00051521056, z: 2.2351741e-10}
rotation: {x: 0.06154663, y: -0.031326823, z: 0.12486694, w: 0.9897671}
scale: {x: 0.9999991, y: 1.0000012, z: 1.0000006}
- name: Pulgar_01.R
parentName: Mano.R
position: {x: -0.00014678387, y: 0.00026057783, z: -0.00036937805}
rotation: {x: -0.29425836, y: 0.6667913, z: -0.25941947, w: 0.6336427}
scale: {x: 1, y: 1.0000001, z: 0.99999964}
- name: Pulgar_02.R
parentName: Pulgar_01.R
position: {x: 3.7252902e-11, y: 0.00036708676, z: 8.1956386e-10}
rotation: {x: 0.057179954, y: 0.0224972, z: 0.33477408, w: 0.9402929}
scale: {x: 0.9999995, y: 0.9999995, z: 1.0000001}
- name: Muslo.L
parentName: Cadera
position: {x: -0.00013251555, y: -0.00007523841, z: -0.0004844876}
rotation: {x: -0.0017118786, y: -0.036809023, z: 0.9978641, w: 0.05393982}
scale: {x: 1.0000052, y: 1.0000004, z: 1.0000032}
- name: Pierna.L
parentName: Muslo.L
position: {x: -8.8475643e-11, y: 0.0025338887, z: 1.3737007e-10}
rotation: {x: 0.028677674, y: -0.0047905045, z: 0.14092907, w: 0.98959273}
scale: {x: 0.9999997, y: 1.0000005, z: 0.99999976}
- name: Bone.019.L
parentName: Pierna.L
position: {x: -2.3283064e-12, y: 0.0025667772, z: 8.731149e-12}
rotation: {x: 0.0035611107, y: -0.0000031646337, z: -0.63241124, w: 0.77462465}
scale: {x: 0.9999994, y: 1.0000005, z: 1}
- name: Bone.020.L
parentName: Bone.019.L
position: {x: -1.4988472e-11, y: 0.00066478376, z: -2.2409949e-11}
rotation: {x: -0.0016433543, y: 0.0000017354788, z: -0.16130741, w: 0.9869029}
scale: {x: 1.0000012, y: 0.999999, z: 0.9999999}
- name: Muslo.R
parentName: Cadera
position: {x: -0.00013251524, y: -0.00007523837, z: 0.00048448765}
rotation: {x: -0.9978639, y: 0.0539402, z: 0.001712621, w: -0.03681417}
scale: {x: 1.0000076, y: 1.0000006, z: 1.0000039}
- name: Pierna.R
parentName: Muslo.R
position: {x: 3.259629e-11, y: 0.0025338891, z: 5.5879353e-11}
rotation: {x: 0.028684273, y: 0.0047907936, z: -0.14092897, w: 0.98959255}
scale: {x: 1.0000006, y: 1.0000005, z: 1.0000002}
- name: Bone.019.R
parentName: Pierna.R
position: {x: 2.561137e-11, y: 0.0025667765, z: -6.635673e-11}
rotation: {x: -0.0035594585, y: -0.0000045783813, z: -0.6324105, w: -0.77462524}
scale: {x: 0.9999995, y: 1.000001, z: 1.0000002}
- name: Bone.020.R
parentName: Bone.019.R
position: {x: 4.10364e-11, y: 0.00066478347, z: 8.731149e-12}
rotation: {x: -0.0016435446, y: -0.0000017841514, z: 0.16130748, w: 0.9869029}
scale: {x: 1.0000018, y: 0.99999815, z: 0.9999999}
rotation: {x: 0.057183444, y: -0.022504607, z: -0.3347757, w: 0.9402919}
scale: {x: 1.0000001, y: 1.0000001, z: 1}
- name: Control_Mano.L
parentName: Control_Maestro
position: {x: -0.0049239215, y: 0.0066548553, z: 0.0007486214}
rotation: {x: 0.8603059, y: -0.4121435, z: -0.17705442, w: 0.24220505}
scale: {x: 0.99999994, y: 0.9999998, z: 0.99999976}
parentName: Mano.L
position: {x: 0, y: 0, z: 0}
rotation: {x: 0.0000010877847, y: 0.00000044703478, z: -0.0000014640389, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Anular_01.L
parentName: Control_Mano.L
position: {x: -0.006223, y: 0.002458, z: 0.003355}
rotation: {x: 0.031104956, y: 0.0028279054, z: 0.4471851, w: 0.893896}
scale: {x: 1.0000001, y: 1, z: 1.0000001}
position: {x: -0.000007491335, y: 0.0005582014, z: -0.000102688144}
rotation: {x: 0.02570744, y: 0.017738154, z: -0.04940956, w: 0.9982901}
scale: {x: 0.99999994, y: 1, z: 1.0000001}
- name: Anular_02.L
parentName: Anular_01.L
position: {x: -3.9115547e-10, y: 0.00047456502, z: -2.3283064e-10}
rotation: {x: 0.048215248, y: 0.010430899, z: -0.12068695, w: 0.9914642}
scale: {x: 0.99999994, y: 1.0000006, z: 1.0000004}
rotation: {x: 0.048215307, y: 0.010430904, z: -0.120686986, w: 0.9914642}
scale: {x: 1.0000001, y: 0.9999999, z: 1}
- name: Hombro.R
parentName: Columna_03
position: {x: -0.000018270974, y: 0.0012299367, z: 0.00063639355}
rotation: {x: 0.018353121, y: 0.7274486, z: 0.6856985, w: 0.017299686}
scale: {x: 1, y: 0.9999998, z: 0.9999998}
- name: Brazo.R
parentName: Hombro.R
position: {x: -8.879968e-11, y: 0.00086551707, z: 0.0000000010493726}
rotation: {x: -0.37750697, y: -0.024994487, z: -0.010652421, w: 0.9256081}
scale: {x: 1.0000004, y: 0.99999946, z: 0.99999994}
- name: Antebrazo.R
parentName: Brazo.R
position: {x: -3.0267983e-11, y: 0.002367194, z: -1.7695129e-10}
rotation: {x: 0.18750487, y: 0.9800205, z: 0.041060213, w: -0.052113622}
scale: {x: 0.99999964, y: 0.9999999, z: 1.0000005}
- name: Mano.R
parentName: Antebrazo.R
position: {x: 1.3737007e-10, y: 0.002219306, z: -7.380731e-10}
rotation: {x: -0.045642678, y: 0.71671987, z: 0.086150594, w: 0.6905125}
scale: {x: 0.99999994, y: 1.0000001, z: 0.9999997}
- name: "Me\xF1ique_01.R"
parentName: Mano.R
position: {x: 0.000053266995, y: 0.00050262344, z: 0.00027815788}
rotation: {x: 0.0017493317, y: 0.060282264, z: 0.09812605, w: 0.993345}
scale: {x: 0.9999998, y: 0.9999999, z: 1}
- name: "Me\xF1ique_02.R"
parentName: "Me\xF1ique_01.R"
position: {x: 4.842877e-10, y: 0.00051521056, z: 2.2351741e-10}
rotation: {x: 0.061546728, y: -0.03132671, z: 0.1248671, w: 0.9897671}
scale: {x: 0.99999976, y: 1, z: 1}
- name: Pulgar_01.R
parentName: Mano.R
position: {x: -0.0001465519, y: 0.00026031162, z: -0.00036921623}
rotation: {x: -0.30302474, y: 0.6826355, z: -0.11090527, w: 0.65565604}
scale: {x: 1, y: 1.0000001, z: 1.0000001}
- name: Pulgar_02.R
parentName: Pulgar_01.R
position: {x: 3.7252902e-11, y: 0.00036708676, z: 8.1956386e-10}
rotation: {x: 0.057180077, y: 0.02249719, z: 0.3347743, w: 0.9402928}
scale: {x: 0.9999999, y: 0.9999998, z: 1}
- name: Control_Mano.R
parentName: Control_Maestro
position: {x: 0.004923921, y: 0.0066548553, z: 0.0007486214}
rotation: {x: 0.86030596, y: 0.41214326, z: 0.17705418, w: 0.24220537}
scale: {x: 1.0000001, y: 1.0000001, z: 1.0000002}
parentName: Mano.R
position: {x: 0, y: 0, z: 0}
rotation: {x: 0.0000011958178, y: 0.0000010132787, z: -0.0000004582106, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Anular_01.R
parentName: Control_Mano.R
position: {x: -0.000215, y: -0.004079, z: -0.002022}
rotation: {x: 0.03109854, y: -0.0028959957, z: -0.44522247, w: 0.89487505}
scale: {x: 1, y: 1.0000001, z: 1.0000002}
position: {x: 0.000007492518, y: 0.00055820105, z: -0.00010268781}
rotation: {x: 0.025707636, y: -0.017737787, z: 0.049409363, w: 0.9982902}
scale: {x: 1, y: 0.99999994, z: 1}
- name: Anular_02.R
parentName: Anular_01.R
position: {x: 5.3085386e-10, y: 0.00047456424, z: -2.7939677e-11}
rotation: {x: 0.048215397, y: -0.010430159, z: 0.1206865, w: 0.99146426}
scale: {x: 0.99999994, y: 1.0000004, z: 1.0000007}
rotation: {x: 0.048215386, y: -0.010430193, z: 0.120686606, w: 0.9914642}
scale: {x: 1, y: 1.0000001, z: 1}
- name: Muslo.L
parentName: Cadera
position: {x: -0.00013251555, y: -0.00007523841, z: -0.0004844876}
rotation: {x: -0.020672573, y: -0.03846385, z: 0.9975811, w: 0.054084077}
scale: {x: 1.0000054, y: 0.9999999, z: 1.0000026}
- name: Pierna.L
parentName: Muslo.L
position: {x: -8.8475643e-11, y: 0.0025338887, z: 1.3737007e-10}
rotation: {x: 0.028653594, y: -0.004788646, z: 0.14092997, w: 0.98959327}
scale: {x: 0.9999998, y: 1.0000005, z: 0.9999999}
- name: Bone.019.L
parentName: Pierna.L
position: {x: -2.3283064e-12, y: 0.0025667772, z: 8.731149e-12}
rotation: {x: 0.0035668407, y: -0.00000024339803, z: -0.6324116, w: 0.77462435}
scale: {x: 0.99999994, y: 0.9999998, z: 0.99999994}
- name: Bone.020.L
parentName: Bone.019.L
position: {x: -1.4988472e-11, y: 0.00066478376, z: -2.2409949e-11}
rotation: {x: -0.0016434314, y: 0.0000012258362, z: -0.16130723, w: 0.9869029}
scale: {x: 0.99999994, y: 0.99999994, z: 0.9999999}
- name: Muslo.R
parentName: Cadera
position: {x: -0.00013251524, y: -0.00007523837, z: 0.00048448765}
rotation: {x: 0.99758106, y: -0.05408531, z: -0.020673444, w: 0.038463533}
scale: {x: 1.0000073, y: 1.0000004, z: 1.0000037}
- name: Pierna.R
parentName: Muslo.R
position: {x: 3.259629e-11, y: 0.0025338891, z: 5.5879353e-11}
rotation: {x: 0.028653812, y: 0.004788579, z: -0.14093137, w: 0.989593}
scale: {x: 1.0000001, y: 0.99999964, z: 1}
- name: Bone.019.R
parentName: Pierna.R
position: {x: 2.561137e-11, y: 0.0025667765, z: -6.635673e-11}
rotation: {x: 0.0035666914, y: 0.00000081196356, z: 0.63241124, w: 0.77462465}
scale: {x: 1.0000001, y: 1.0000001, z: 1}
- name: Bone.020.R
parentName: Bone.019.R
position: {x: 4.10364e-11, y: 0.00066478347, z: 8.731149e-12}
rotation: {x: -0.0016435799, y: -0.0000012476767, z: 0.16130723, w: 0.9869029}
scale: {x: 1, y: 1, z: 0.9999998}
- name: SM_Alien_Flaco
parentName: SM_Alien_Flaco(Clone)
position: {x: 0.53928626, y: 0, z: 0}
@@ -537,7 +569,7 @@ ModelImporter:
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
rootMotionBoneName: Control_Maestro
hasTranslationDoF: 0
hasExtraRoot: 1
skeletonHasParents: 1

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d941a2d26357b4d45a9b8caa347d5562
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,47 @@
/* Contenedor Principal responsivo */
.loading-container {
width: 100%;
height: 100%;
flex-grow: 1;
background-color: #000000;
align-items: flex-end;
justify-content: flex-end;
position: relative;
}
/* Texto de Carga */
.loading-text {
font-size: 50px;
color: #ffffff;
-unity-font-style: bold;
margin-right: 40px;
margin-bottom: 40px;
/* 1. Hacemos la caja más ancha para que quepa "CARGANDO..." con la fuente Komika */
width: 350px;
/* 2. Anclamos el texto a la izquierda de la caja */
-unity-text-align: middle-left;
/* 3. Evitamos estrictamente que el texto salte a la siguiente línea */
white-space: nowrap;
}
/* Contenedor de la Nave */
.spaceship-icon {
/* 1. Quitamos position: absolute para que respete el flujo y baje a la esquina */
position: relative;
/* 2. Tamaño ajustado */
width: 250px;
height: 250px;
/* 3. Márgenes para alinearla con el texto (mismo margin-left que el texto) */
margin-left: 40px;
/* 4. Un pequeño margen abajo para que no pegue con las letras */
margin-bottom: -20px;
/* Ajuste de imagen */
-unity-background-scale-mode: scale-to-fit;
}

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 2338a47a6d4bdf04fb16da5ab852dee3
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
unsupportedSelectorAction: 0

View File

@@ -0,0 +1,7 @@
<ui:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<Style src="project://database/Assets/Game/Menus/LoadingScreen/LoadingScreen.uss?fileID=7433441132597879392&amp;guid=2338a47a6d4bdf04fb16da5ab852dee3&amp;type=3#LoadingScreen"/>
<ui:VisualElement name="Container" class="loading-container" style="aspect-ratio: 1.777778;">
<ui:VisualElement name="Spaceship" class="spaceship-icon"/>
<ui:Label text="Cargando" name="LoadingText" class="loading-text" style="-unity-font-definition: url(&quot;project://database/Assets/Game/Menus/Fonts/KOMIKAX_.ttf?fileID=12800000&amp;guid=afbd8b3e208400c4ebf47631612ef61f&amp;type=3#KOMIKAX_&quot;);"/>
</ui:VisualElement>
</ui:UXML>

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 574e334a49fbd6945b59354aed996919
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}

View File

@@ -0,0 +1,80 @@
using UnityEngine;
using UnityEngine.UIElements;
using UnityEngine.SceneManagement;
using System.Collections;
public class LoadingScreenController : MonoBehaviour
{
private UIDocument _doc;
private Label _loadingText;
private VisualElement _spaceship;
private int _dotCount = 0;
private float _time = 0f;
[Header("Configuración de Carga")]
public string sceneToLoad = "SampleScene";
private void Awake()
{
_doc = GetComponent<UIDocument>();
var root = _doc.rootVisualElement;
_loadingText = root.Q<Label>("LoadingText");
_spaceship = root.Q<VisualElement>("Spaceship");
// 1. Animación del texto: Se ejecuta cada 400 milisegundos
root.schedule.Execute(UpdateLoadingText).Every(400);
// 2. Animación loca de la nave: Se ejecuta cada 20 milisegundos para fluidez
root.schedule.Execute(AnimateSpaceship).Every(20);
// 3. Iniciar la carga de la escena en segundo plano
StartCoroutine(LoadSceneAsync());
}
private void UpdateLoadingText()
{
// Alterna entre 0 y 3 puntos
_dotCount = (_dotCount + 1) % 4;
_loadingText.text = "Cargando" + new string('.', _dotCount);
}
private void AnimateSpaceship()
{
if (_spaceship == null) return;
_time += 0.1f;
// Efecto "Rabbid": vibración y rotación errática usando Seno y Coseno
float offsetX = Mathf.Sin(_time * 12f) * 8f;
float offsetY = Mathf.Cos(_time * 15f) * 6f;
float rotation = Mathf.Sin(_time * 20f) * 3f;
_spaceship.style.translate = new Translate(offsetX, offsetY, 0);
_spaceship.style.rotate = new Rotate(new Angle(rotation, AngleUnit.Degree));
}
private IEnumerator LoadSceneAsync()
{
// Pequeña pausa opcional para que la pantalla no parpadee si la escena carga muy rápido
yield return new WaitForSeconds(0.5f);
AsyncOperation asyncLoad = SceneManager.LoadSceneAsync(sceneToLoad);
// La escena no cambia automáticamente hasta que nosotros lo indiquemos
asyncLoad.allowSceneActivation = false;
// Espera hasta que Unity haya cargado el 90% (el 10% restante es la activación)
while (asyncLoad.progress < 0.9f)
{
yield return null;
}
// Pequeña pausa para que la animación sea visible aunque la escena cargue muy rápido
yield return new WaitForSeconds(0.8f);
// Ahora sí, activa la escena
asyncLoad.allowSceneActivation = true;
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 62ff0d03d5ac484428d8223d73a8b8b2

View File

@@ -1 +1,2 @@
@import url("project://database/Assets/UI Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss");
@import url("MainMenu.uss");

View File

@@ -47,8 +47,8 @@ public class MainMenuController : MonoBehaviour
private void OnPlayClicked()
{
PlayClickSound();
Debug.Log("¡BWAAAH! Iniciando juego...");
// SceneManager.LoadScene("GameScene");
Debug.Log("Cargando SampleScene...");
SceneManager.LoadScene("Loading");
}
private void OnSettingsClicked()

View File

@@ -132,7 +132,7 @@ Material:
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.09656998, g: 0.42161977, b: 0.522, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 0.09656995, g: 0.42161974, b: 0.522, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@@ -132,7 +132,7 @@ Material:
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.15355149, g: 0.21289384, b: 0.22221711, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 0.15355146, g: 0.21289381, b: 0.22221708, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33c4ed4fd5722602be7c25ca29d21674d138239cd6d340e0e5aa3857a0ce88ce
size 12115

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 878972854fc47d147981f67915c6b8e5
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:045e5a15d9d0971c25d24fec4a150dfe821b29c20c6d2c0ea30df737cb2c3050
size 115044360
oid sha256:73e133f452c7d794ad49f4faee987c1509bdc80063f9e98df734dde24ac05e3a
size 86888977

BIN
Assets/T-Pose.fbx LFS Normal file

Binary file not shown.

685
Assets/T-Pose.fbx.meta Normal file
View File

@@ -0,0 +1,685 @@
fileFormatVersion: 2
guid: aa859a135ccab1c45943eab6c4434629
ModelImporter:
serializedVersion: 24200
internalIDToNameTable: []
externalObjects: {}
materials:
materialImportMode: 1
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
removeConstantScaleCurves: 0
motionNodeName:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 3
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importPhysicalCameras: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
nodeNameCollisionStrategy: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
optimizeBones: 1
generateMeshLods: 0
meshLodGenerationFlags: 0
maximumMeshLod: -1
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
strictVertexDataChecks: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 0
humanDescription:
serializedVersion: 3
human:
- boneName: mixamorig1:Hips
humanName: Hips
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftUpLeg
humanName: LeftUpperLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightUpLeg
humanName: RightUpperLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftLeg
humanName: LeftLowerLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightLeg
humanName: RightLowerLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftFoot
humanName: LeftFoot
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightFoot
humanName: RightFoot
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:Spine
humanName: Spine
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:Spine1
humanName: Chest
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:Neck
humanName: Neck
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:Head
humanName: Head
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftShoulder
humanName: LeftShoulder
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightShoulder
humanName: RightShoulder
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftArm
humanName: LeftUpperArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightArm
humanName: RightUpperArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftForeArm
humanName: LeftLowerArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightForeArm
humanName: RightLowerArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftHand
humanName: LeftHand
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightHand
humanName: RightHand
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftToeBase
humanName: LeftToes
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightToeBase
humanName: RightToes
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftHandThumb1
humanName: Left Thumb Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftHandThumb2
humanName: Left Thumb Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftHandThumb3
humanName: Left Thumb Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftHandIndex1
humanName: Left Index Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftHandIndex2
humanName: Left Index Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftHandIndex3
humanName: Left Index Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftHandMiddle1
humanName: Left Middle Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftHandMiddle2
humanName: Left Middle Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:LeftHandMiddle3
humanName: Left Middle Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightHandThumb1
humanName: Right Thumb Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightHandThumb2
humanName: Right Thumb Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightHandThumb3
humanName: Right Thumb Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightHandIndex1
humanName: Right Index Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightHandIndex2
humanName: Right Index Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightHandIndex3
humanName: Right Index Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightHandMiddle1
humanName: Right Middle Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightHandMiddle2
humanName: Right Middle Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:RightHandMiddle3
humanName: Right Middle Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig1:Spine2
humanName: UpperChest
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
skeleton:
- name: T-Pose(Clone)
parentName:
position: {x: 0, y: 0, z: 0}
rotation: {x: 0, y: 0, z: 0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Ch50
parentName: T-Pose(Clone)
position: {x: -0, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:Hips
parentName: T-Pose(Clone)
position: {x: 0.0000010730951, y: 1.03996, z: -0.0055643264}
rotation: {x: 0.000000061519046, y: 0.00000030980118, z: -0.000011079146, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:Spine
parentName: mixamorig1:Hips
position: {x: -0, y: 0.08775215, z: -0.008685976}
rotation: {x: -0.04931094, y: -0.00000085574607, z: 0.000011050391, w: 0.99878347}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:Spine1
parentName: mixamorig1:Spine
position: {x: -0, y: 0.1028777, z: 0}
rotation: {x: 7.3947e-26, y: -1.09615354e-13, z: 6.7460447e-13, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:Spine2
parentName: mixamorig1:Spine1
position: {x: -0, y: 0.11757464, z: 0}
rotation: {x: 0, y: -0, z: -1.8932662e-29, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:Neck
parentName: mixamorig1:Spine2
position: {x: -0, y: 0.13227136, z: -0.000000006675732}
rotation: {x: 0.049310848, y: -3.38401e-21, z: -1.6707166e-22, w: 0.99878347}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:Head
parentName: mixamorig1:Neck
position: {x: -0, y: 0.061138913, z: 0.025449144}
rotation: {x: 0, y: 0, z: 8.15732e-40, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:HeadTop_End
parentName: mixamorig1:Head
position: {x: -0, y: 0.2071634, z: 0.086232014}
rotation: {x: 6.938894e-18, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftShoulder
parentName: mixamorig1:Spine2
position: {x: -0.058844827, y: 0.117631614, z: -0.0014430302}
rotation: {x: 0.5482704, y: -0.44338316, z: 0.561391, w: 0.43318713}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftArm
parentName: mixamorig1:LeftShoulder
position: {x: -0, y: 0.12013167, z: 0}
rotation: {x: -0.11656685, y: -0.0034364113, z: -0.011426387, w: 0.9931112}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftForeArm
parentName: mixamorig1:LeftArm
position: {x: -1.7763568e-17, y: 0.21026534, z: -2.842171e-16}
rotation: {x: 0.000000039538165, y: 0.0063887397, z: -0.00000005098965, w: 0.9999796}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHand
parentName: mixamorig1:LeftForeArm
position: {x: -1.7763568e-17, y: 0.23623021, z: 0}
rotation: {x: 0.0062322915, y: -0.053343207, z: -0.115873426, w: 0.991811}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandThumb1
parentName: mixamorig1:LeftHand
position: {x: 0.029316137, y: 0.03346072, z: 0.016123239}
rotation: {x: 0.05602841, y: -0.03711576, z: -0.1298941, w: 0.9892476}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandThumb2
parentName: mixamorig1:LeftHandThumb1
position: {x: 0.008461988, y: 0.03689666, z: 0}
rotation: {x: 0.0009801049, y: 0.009183488, z: -0.11885843, w: 0.9928683}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandThumb3
parentName: mixamorig1:LeftHandThumb2
position: {x: -0.0005155075, y: 0.04015979, z: -2.842171e-16}
rotation: {x: -0.0010424257, y: 0.0075171096, z: -0.124591, w: 0.9921792}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandThumb4
parentName: mixamorig1:LeftHandThumb3
position: {x: -0.00794648, y: 0.029549506, z: 2.842171e-16}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandIndex1
parentName: mixamorig1:LeftHand
position: {x: 0.021600123, y: 0.094547376, z: 0.000000025845189}
rotation: {x: 0.00032368916, y: -0.002753259, z: 0.115405366, w: 0.9933146}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandIndex2
parentName: mixamorig1:LeftHandIndex1
position: {x: -0.000050769962, y: 0.039877094, z: -2.842171e-16}
rotation: {x: 0.000001047927, y: 0.00031078717, z: 0.0054631107, w: 0.99998504}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandIndex3
parentName: mixamorig1:LeftHandIndex2
position: {x: 0.00038343124, y: 0.039698906, z: 0}
rotation: {x: -0.000000042099426, y: 0.0001494878, z: -0.010817356, w: 0.99994147}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandIndex4
parentName: mixamorig1:LeftHandIndex3
position: {x: -0.00033266126, y: 0.027776524, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandMiddle1
parentName: mixamorig1:LeftHand
position: {x: -0.021600123, y: 0.09117956, z: 0.000000026347363}
rotation: {x: -0.00012497367, y: 0.0010706764, z: 0.11641495, w: 0.9932001}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandMiddle2
parentName: mixamorig1:LeftHandMiddle1
position: {x: 0.000028006558, y: 0.037163727, z: 0}
rotation: {x: 0.000000009888212, y: 0.00012405161, z: 0.0020376672, w: 0.9999979}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandMiddle3
parentName: mixamorig1:LeftHandMiddle2
position: {x: 0.00017184773, y: 0.03561897, z: 0}
rotation: {x: -0.0000000024863922, y: 0.00019854124, z: -0.0062178583, w: 0.9999807}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftHandMiddle4
parentName: mixamorig1:LeftHandMiddle3
position: {x: -0.00019985427, y: 0.026290707, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightShoulder
parentName: mixamorig1:Spine2
position: {x: 0.058844827, y: 0.11763281, z: -0.001455045}
rotation: {x: -0.54820853, y: -0.44343212, z: 0.5614439, w: -0.43314672}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightArm
parentName: mixamorig1:RightShoulder
position: {x: -0, y: 0.12013167, z: 2.842171e-16}
rotation: {x: -0.116553254, y: 0.0032094966, z: 0.0115563525, w: 0.993112}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightForeArm
parentName: mixamorig1:RightArm
position: {x: -1.7763568e-17, y: 0.21023084, z: 0}
rotation: {x: 0.000000027701198, y: -0.006209667, z: 0.000000011306159, w: 0.99998075}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHand
parentName: mixamorig1:RightForeArm
position: {x: -1.7763568e-17, y: 0.2362111, z: 0}
rotation: {x: 0.006355422, y: 0.05339134, z: 0.11803359, w: 0.9915529}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandThumb1
parentName: mixamorig1:RightHand
position: {x: -0.029553095, y: 0.032658294, z: 0.016122436}
rotation: {x: 0.05348207, y: 0.0450536, z: 0.14191803, w: 0.9874053}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandThumb2
parentName: mixamorig1:RightHandThumb1
position: {x: -0.007378612, y: 0.036789738, z: -2.842171e-16}
rotation: {x: 0.0003690551, y: -0.0053185076, z: 0.12826161, w: 0.99172604}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandThumb3
parentName: mixamorig1:RightHandThumb2
position: {x: 0.0023718409, y: 0.03995899, z: -2.842171e-16}
rotation: {x: -0.00020857787, y: -0.0019154251, z: 0.049338598, w: 0.99878025}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandThumb4
parentName: mixamorig1:RightHandThumb3
position: {x: 0.005006771, y: 0.031423848, z: 2.842171e-16}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandIndex1
parentName: mixamorig1:RightHand
position: {x: -0.02219824, y: 0.09370457, z: 0.00000001323654}
rotation: {x: 0.00028791532, y: 0.0023984744, z: -0.117122635, w: 0.99311453}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandIndex2
parentName: mixamorig1:RightHandIndex1
position: {x: 0.00009031705, y: 0.04132343, z: -2.842171e-16}
rotation: {x: 0.0000010658655, y: -0.00029111863, z: -0.0059561557, w: 0.99998224}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandIndex3
parentName: mixamorig1:RightHandIndex2
position: {x: -0.00037387857, y: 0.03842014, z: 0}
rotation: {x: -0.00000023262267, y: -0.000019587416, z: 0.009902418, w: 0.999951}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandIndex4
parentName: mixamorig1:RightHandIndex3
position: {x: 0.00028356153, y: 0.02819885, z: -2.842171e-16}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandMiddle1
parentName: mixamorig1:RightHand
position: {x: 0.02219824, y: 0.09191739, z: 0.000000013929359}
rotation: {x: 0.00011569776, y: 0.0009761617, z: -0.11868438, w: 0.99293154}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandMiddle2
parentName: mixamorig1:RightHandMiddle1
position: {x: -0.000037396105, y: 0.038317982, z: 0}
rotation: {x: -0.000000017618417, y: -0.000107367545, z: -0.0020302476, w: 0.999998}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandMiddle3
parentName: mixamorig1:RightHandMiddle2
position: {x: -0.00017502507, y: 0.034818098, z: 0}
rotation: {x: -0.00000013643039, y: -0.00023033081, z: 0.0068130745, w: 0.99997675}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightHandMiddle4
parentName: mixamorig1:RightHandMiddle3
position: {x: 0.00021242119, y: 0.024650319, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftUpLeg
parentName: mixamorig1:Hips
position: {x: -0.0793305, y: -0.04881523, z: 0.0053000054}
rotation: {x: 0.000045312827, y: -0.008736669, z: 0.9999538, w: 0.0040020705}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftLeg
parentName: mixamorig1:LeftUpLeg
position: {x: 1.7763568e-17, y: 0.44442898, z: 0}
rotation: {x: -0.012936343, y: -0.00016987788, z: 0.008022804, w: 0.9998841}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftFoot
parentName: mixamorig1:LeftLeg
position: {x: -0, y: 0.4449365, z: 2.220446e-18}
rotation: {x: 0.5099048, y: -0.015913518, z: -0.0037215806, w: 0.8600756}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftToeBase
parentName: mixamorig1:LeftFoot
position: {x: -0, y: 0.19331002, z: 1.7763568e-17}
rotation: {x: 0.25817883, y: 0.045552995, z: -0.012188061, w: 0.9649457}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:LeftToe_End
parentName: mixamorig1:LeftToeBase
position: {x: 1.7763568e-17, y: 0.07813616, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightUpLeg
parentName: mixamorig1:Hips
position: {x: 0.0793305, y: -0.04881523, z: 0.0061813747}
rotation: {x: -0.000041313815, y: -0.0103872055, z: 0.99993795, w: -0.0040244055}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightLeg
parentName: mixamorig1:RightUpLeg
position: {x: 1.7763568e-17, y: 0.44442874, z: 0}
rotation: {x: -0.010626306, y: 0.00016884724, z: -0.008022738, w: 0.99991137}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightFoot
parentName: mixamorig1:RightLeg
position: {x: 1.7763568e-17, y: 0.44493574, z: 0}
rotation: {x: 0.5046986, y: 0.01618397, z: 0.0036625385, w: 0.8631362}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightToeBase
parentName: mixamorig1:RightFoot
position: {x: 1.7763568e-17, y: 0.18994072, z: 1.7763568e-17}
rotation: {x: 0.26309764, y: -0.045850128, z: 0.01251877, w: 0.9635978}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig1:RightToe_End
parentName: mixamorig1:RightToeBase
position: {x: -1.7763568e-17, y: 0.076140404, z: 2.220446e-18}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 1
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 3
humanoidOversampling: 1
avatarSetup: 1
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

3
Assets/Untitled.fbx Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a002b2648c42372850aebee5e52182ab0a4a2c80c2beae49650fe8005d18b137
size 1227004

660
Assets/Untitled.fbx.meta Normal file
View File

@@ -0,0 +1,660 @@
fileFormatVersion: 2
guid: 682fd44eace91984387cd744c045bf02
ModelImporter:
serializedVersion: 24200
internalIDToNameTable: []
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
removeConstantScaleCurves: 0
motionNodeName:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 3
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importPhysicalCameras: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
nodeNameCollisionStrategy: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
optimizeBones: 1
generateMeshLods: 0
meshLodGenerationFlags: 0
maximumMeshLod: -1
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
strictVertexDataChecks: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 0
humanDescription:
serializedVersion: 3
human:
- boneName: Control_Cadera
humanName: Hips
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Muslo.L
humanName: LeftUpperLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Muslo.R
humanName: RightUpperLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Pierna.L
humanName: LeftLowerLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Pierna.R
humanName: RightLowerLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Bone.019.L
humanName: LeftFoot
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Bone.019.R
humanName: RightFoot
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Columna_01
humanName: Spine
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Columna_02
humanName: Chest
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Cuello
humanName: Neck
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Cabeza
humanName: Head
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Hombro.L
humanName: LeftShoulder
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Hombro.R
humanName: RightShoulder
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Brazo.L
humanName: LeftUpperArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Brazo.R
humanName: RightUpperArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Antebrazo.L
humanName: LeftLowerArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Antebrazo.R
humanName: RightLowerArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Mano.L
humanName: LeftHand
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Mano.R
humanName: RightHand
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Bone.020.L
humanName: LeftToes
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Bone.020.R
humanName: RightToes
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: "Me\xF1ique_01.L"
humanName: Left Little Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: "Me\xF1ique_02.L"
humanName: Left Little Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: "Me\xF1ique_01.R"
humanName: Right Little Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: "Me\xF1ique_02.R"
humanName: Right Little Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Columna_03
humanName: UpperChest
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Medio_02.R
humanName: Right Middle Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Medio_02.R_end
humanName: Right Middle Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Medio_01.R
humanName: Right Middle Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: "Me\xF1ique_02.R_end"
humanName: Right Little Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Pulgar_02.R_end
humanName: Right Thumb Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Pulgar_02.R
humanName: Right Thumb Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Pulgar_01.R
humanName: Right Thumb Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: "Me\xF1ique_02.L_end"
humanName: Left Little Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Pulgar_02.L
humanName: Left Thumb Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Pulgar_01.L
humanName: Left Thumb Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Pulgar_02.L_end
humanName: Left Thumb Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Mano.L.002_end
humanName: Left Middle Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Mano.L.002
humanName: Left Middle Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: Mano.L.001
humanName: Left Middle Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
skeleton:
- name: Untitled(Clone)
parentName:
position: {x: 0, y: 0, z: 0}
rotation: {x: 0, y: 0, z: 0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Armature.001
parentName: Untitled(Clone)
position: {x: -0.79574686, y: 0, z: 0}
rotation: {x: -0.7071069, y: 0, z: 0, w: 0.7071067}
scale: {x: 1, y: 1, z: 1}
- name: Control_Cadera
parentName: Armature.001
position: {x: 0.7946187, y: 0.04635781, z: 0.70672333}
rotation: {x: -0.48162967, y: 0.5028967, z: -0.49708608, w: 0.5177192}
scale: {x: 0.99999994, y: 1, z: 1}
- name: Columna_01
parentName: Control_Cadera
position: {x: -0.00020293705, y: -0.0048038485, z: 0.0012742109}
rotation: {x: 0.00065431726, y: 0.015128886, z: 0.9989599, w: -0.04300964}
scale: {x: 1.0000153, y: 0.9999998, z: 1.0000027}
- name: Columna_02
parentName: Columna_01
position: {x: -0.000000007450581, y: 0.07952619, z: -1.7974511e-13}
rotation: {x: -0.00000070893975, y: -0.00000004136845, z: -0.066558115, w: 0.9977826}
scale: {x: 0.9999999, y: 1.0000001, z: 1}
- name: Columna_03
parentName: Columna_02
position: {x: 0.0000000013969839, y: 0.14530183, z: -4.968248e-14}
rotation: {x: 0.00000029896538, y: -0.000000015402875, z: 0.027846066, w: 0.9996122}
scale: {x: 1, y: 0.9999998, z: 1}
- name: Cuello
parentName: Columna_03
position: {x: -0.0000000037252903, y: 0.18329628, z: 7.3940853e-14}
rotation: {x: 0.000000082812406, y: 0.000000117969485, z: 0.007787665, w: 0.99996966}
scale: {x: 0.9999999, y: 0.9999998, z: 1.0000007}
- name: Cabeza
parentName: Cuello
position: {x: 0.000000018626451, y: 0.14343318, z: -9.7699626e-14}
rotation: {x: 0.0000000648948, y: 0.000000119037246, z: 0.006241818, w: 0.9999805}
scale: {x: 1, y: 1, z: 1}
- name: Cabeza_end
parentName: Cabeza
position: {x: -0, y: 0.20273809, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Hombro.L
parentName: Columna_03
position: {x: -0.00210386, y: 0.1416274, z: -0.073280826}
rotation: {x: -0.6856986, y: 0.017300075, z: -0.018353537, w: 0.7274485}
scale: {x: 0.9999999, y: 1, z: 1}
- name: Brazo.L
parentName: Hombro.L
position: {x: 0.0000000025409843, y: 0.09966461, z: -0.000000034663795}
rotation: {x: -0.050977398, y: -0.45966107, z: 0.044047076, w: 0.8855353}
scale: {x: 1, y: 0.99999887, z: 1.0000005}
- name: Antebrazo.L
parentName: Brazo.L
position: {x: -0.000000054948032, y: 0.2725827, z: 0.00000010803342}
rotation: {x: 0.07387245, y: 0.99621654, z: 0.024895824, w: 0.038416505}
scale: {x: 1.0007379, y: 1.3590776, z: 1.0010585}
- name: Mano.L
parentName: Antebrazo.L
position: {x: -0.000000060070306, y: 0.16098997, z: -0.000000015133992}
rotation: {x: -0.0011223755, y: -0.31036788, z: 0.045227095, w: 0.9495394}
scale: {x: 0.9934475, y: 0.7725516, z: 0.99995655}
- name: Mano.L.001
parentName: Mano.L
position: {x: 0.00000010097574, y: 0.15767318, z: -0.000000004773028}
rotation: {x: -0.042571016, y: 0.02163541, z: -0.020546075, w: 0.9986478}
scale: {x: 1, y: 1, z: 1}
- name: Mano.L.002
parentName: Mano.L.001
position: {x: 0.000000023952452, y: 0.058051124, z: 0.000000004656613}
rotation: {x: 0.005982174, y: 0.03531229, z: -0.043732584, w: 0.99840117}
scale: {x: 1, y: 0.99999994, z: 1}
- name: Mano.L.002_end
parentName: Mano.L.002
position: {x: -0, y: 0.08039722, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: "Me\xF1ique_01.L"
parentName: Mano.L
position: {x: -0.00472321, y: 0.15476093, z: 0.03242034}
rotation: {x: 0.05364036, y: -0.037889473, z: -0.070072934, w: 0.9953778}
scale: {x: 0.9999999, y: 0.99999976, z: 0.9999998}
- name: "Me\xF1ique_02.L"
parentName: "Me\xF1ique_01.L"
position: {x: 0.000000052154064, y: 0.05932621, z: 0.000000018626451}
rotation: {x: -0.03542866, y: -0.014981179, z: -0.025938442, w: 0.9989232}
scale: {x: 0.9999997, y: 0.9999998, z: 0.99999964}
- name: "Me\xF1ique_02.L_end"
parentName: "Me\xF1ique_02.L"
position: {x: -0, y: 0.08106672, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Pulgar_01.L
parentName: Mano.L
position: {x: 0.013541486, y: 0.12556335, z: -0.042117614}
rotation: {x: -0.30101365, y: -0.62609804, z: 0.21166669, w: 0.68745136}
scale: {x: 1.1134593, y: 1.1990097, z: 1.0084946}
- name: Pulgar_02.L
parentName: Pulgar_01.L
position: {x: 0.000000026077032, y: 0.042269617, z: -0.000000059604645}
rotation: {x: 0.013792315, y: -0.020565977, z: -0.045454092, w: 0.9986595}
scale: {x: 0.99999946, y: 0.9999993, z: 0.99999934}
- name: Pulgar_02.L_end
parentName: Pulgar_02.L
position: {x: -0, y: 0.058084555, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Hombro.R
parentName: Columna_03
position: {x: -0.0021038572, y: 0.14162749, z: 0.07328085}
rotation: {x: 0.018353546, y: 0.72744834, z: 0.68569875, w: 0.0173001}
scale: {x: 0.9999999, y: 0.99999976, z: 0.99999976}
- name: Brazo.R
parentName: Hombro.R
position: {x: 8.770371e-10, y: 0.09966461, z: 0.000000014764392}
rotation: {x: -0.06274137, y: 0.4608094, z: -0.029714692, w: 0.8847798}
scale: {x: 0.9999998, y: 0.99999875, z: 1}
- name: Antebrazo.R
parentName: Brazo.R
position: {x: -0.00000011920929, y: 0.28864965, z: -0.000000011175871}
rotation: {x: -0.06333998, y: 0.99676055, z: 0.04912968, w: -0.0065392726}
scale: {x: 0.99998415, y: 0.89680433, z: 0.9999949}
- name: Mano.R
parentName: Antebrazo.R
position: {x: -0.000000070780516, y: 0.21314354, z: 0.000000011175871}
rotation: {x: 0.0004996852, y: 0.24732804, z: -0.016411541, w: 0.96879274}
scale: {x: 1.0014778, y: 1.6206369, z: 1.0000458}
- name: Medio_01.R
parentName: Mano.R
position: {x: 0.00000006263144, y: 0.08295302, z: 0.0000000041909516}
rotation: {x: -0.038885266, y: -0.013438245, z: 0.04273481, w: 0.99823904}
scale: {x: 1, y: 1, z: 1.0000001}
- name: Medio_02.R
parentName: Medio_01.R
position: {x: 0.0000000146683306, y: 0.080804124, z: 0.000000011175871}
rotation: {x: -0.0048433784, y: 0.027171765, z: 0.059989285, w: 0.9978174}
scale: {x: 1, y: 1, z: 1}
- name: Medio_02.R_end
parentName: Medio_02.R
position: {x: -0, y: 0.07312969, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: "Me\xF1ique_01.R"
parentName: Mano.R
position: {x: 0.00969905, y: 0.092213996, z: 0.031450935}
rotation: {x: 0.078423895, y: 0.051225938, z: 0.07880107, w: 0.99247974}
scale: {x: 1.0000001, y: 1.0000001, z: 1.0000001}
- name: "Me\xF1ique_02.R"
parentName: "Me\xF1ique_01.R"
position: {x: -0.00000017601997, y: 0.059326597, z: 0.000000010244548}
rotation: {x: -0.04312434, y: 0.02154905, z: 0.043225337, w: 0.9979016}
scale: {x: 1.0000004, y: 1.0000004, z: 1.0000001}
- name: "Me\xF1ique_02.R_end"
parentName: "Me\xF1ique_02.R"
position: {x: -0, y: 0.08106674, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Pulgar_01.R
parentName: Mano.R
position: {x: -0.010415063, y: 0.063996255, z: -0.038547985}
rotation: {x: -0.34357402, y: 0.65885717, z: -0.21429184, w: 0.6339899}
scale: {x: 1.2567766, y: 1.13321, z: 1.0230645}
- name: Pulgar_02.R
parentName: Pulgar_01.R
position: {x: -0.000000018626451, y: 0.042269662, z: 0.0000000018626451}
rotation: {x: 0.005388959, y: -0.04855954, z: 0.03873966, w: 0.99805427}
scale: {x: 1.0000001, y: 0.9999999, z: 0.9999999}
- name: Pulgar_02.R_end
parentName: Pulgar_02.R
position: {x: -0, y: 0.054654375, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Muslo.L
parentName: Control_Cadera
position: {x: 0.015282067, y: 0.08142397, z: -0.05715277}
rotation: {x: -0.05353802, y: 0.019880667, z: -0.05567238, w: 0.9968145}
scale: {x: 1.0000033, y: 1.0000001, z: 1.0000015}
- name: Pierna.L
parentName: Muslo.L
position: {x: -0.0000000041909516, y: 0.29177818, z: -5.820766e-11}
rotation: {x: 0.02865354, y: -0.0047887745, z: 0.14093064, w: 0.98959315}
scale: {x: 0.9999999, y: 0.9999997, z: 1.0000002}
- name: Bone.019.L
parentName: Pierna.L
position: {x: 0.0000000020954758, y: 0.2955653, z: 0.0000000054133125}
rotation: {x: 0.0035674742, y: -0.0000005874613, z: -0.63241196, w: 0.7746241}
scale: {x: 0.9999997, y: 0.9999997, z: 0.9999999}
- name: Bone.020.L
parentName: Bone.019.L
position: {x: -0.0000000020954758, y: 0.07655021, z: 0.0000000019499566}
rotation: {x: -0.0016433989, y: 0.0000007011989, z: -0.1613071, w: 0.9869029}
scale: {x: 1, y: 0.99999994, z: 0.9999998}
- name: Bone.020.L_end
parentName: Bone.020.L
position: {x: -0, y: 0.074432954, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Muslo.R
parentName: Control_Cadera
position: {x: 0.015282141, y: 0.08480278, z: 0.05437409}
rotation: {x: 0.055045284, y: 0.9979785, z: 0.023327926, w: 0.021556687}
scale: {x: 1.0000033, y: 1.0000001, z: 1.0000021}
- name: Pierna.R
parentName: Muslo.R
position: {x: 0.0000000011641532, y: 0.29177827, z: 5.820766e-11}
rotation: {x: 0.028653778, y: 0.004788498, z: -0.1409314, w: 0.989593}
scale: {x: 0.9999998, y: 0.9999995, z: 0.9999998}
- name: Bone.019.R
parentName: Pierna.R
position: {x: 0.000000012340024, y: 0.2955653, z: 0.0000000069849193}
rotation: {x: 0.0035674411, y: 0.0000010783782, z: 0.6324122, w: 0.7746238}
scale: {x: 0.99999964, y: 0.99999964, z: 0.9999998}
- name: Bone.020.R
parentName: Bone.019.R
position: {x: -1.891749e-10, y: 0.07655019, z: -0.000000004132744}
rotation: {x: -0.001643459, y: -0.0000009974478, z: 0.1613067, w: 0.98690295}
scale: {x: 1, y: 1.0000001, z: 0.9999998}
- name: Bone.020.R_end
parentName: Bone.020.R
position: {x: -0, y: 0.074432954, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: SM_Alien_Fuerte
parentName: Armature.001
position: {x: 0.0027098656, y: -0.025030248, z: 0.9966012}
rotation: {x: 1, y: -0, z: 0, w: -0.0000000754979}
scale: {x: 0.01, y: 0.01, z: 0.01}
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 1
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 3
humanoidOversampling: 1
avatarSetup: 1
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd0698ec6b498e86160084c224f5f77f4d6bde37aff58615af7d4a09f71da975
size 25381
oid sha256:14c6c471f3775d882726e9eb23c3356f27d31044f743be6755e09ac85c9a6a00
size 25375