diff --git a/IronToad_UnityProject/Assets/Art/Models/Materials/No Name.mat b/IronToad_UnityProject/Assets/Art/Models/Materials/No Name.mat index 458f8a4..e3b2576 100644 Binary files a/IronToad_UnityProject/Assets/Art/Models/Materials/No Name.mat and b/IronToad_UnityProject/Assets/Art/Models/Materials/No Name.mat differ diff --git a/IronToad_UnityProject/Assets/Art/Models/Materials/light-gradient.mat b/IronToad_UnityProject/Assets/Art/Models/Materials/light-gradient.mat new file mode 100644 index 0000000..8883f4e Binary files /dev/null and b/IronToad_UnityProject/Assets/Art/Models/Materials/light-gradient.mat differ diff --git a/IronToad_UnityProject/Assets/Art/Models/Materials/light-gradient.mat.meta b/IronToad_UnityProject/Assets/Art/Models/Materials/light-gradient.mat.meta new file mode 100644 index 0000000..04b7825 --- /dev/null +++ b/IronToad_UnityProject/Assets/Art/Models/Materials/light-gradient.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 159576e0f67c04fb490e030fa1db9948 +timeCreated: 1485006531 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Art/Models/Materials/textures/light-gradient.png b/IronToad_UnityProject/Assets/Art/Models/Materials/textures/light-gradient.png new file mode 100644 index 0000000..f677743 Binary files /dev/null and b/IronToad_UnityProject/Assets/Art/Models/Materials/textures/light-gradient.png differ diff --git a/IronToad_UnityProject/Assets/Art/Models/Materials/textures/light-gradient.png.meta b/IronToad_UnityProject/Assets/Art/Models/Materials/textures/light-gradient.png.meta new file mode 100644 index 0000000..8c64f9f --- /dev/null +++ b/IronToad_UnityProject/Assets/Art/Models/Materials/textures/light-gradient.png.meta @@ -0,0 +1,68 @@ +fileFormatVersion: 2 +guid: 305e72dd963e54751b6faa9024c6ad0e +timeCreated: 1485006561 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Art/Models/flag.meta b/IronToad_UnityProject/Assets/Art/Models/flag.meta new file mode 100644 index 0000000..b1db67e --- /dev/null +++ b/IronToad_UnityProject/Assets/Art/Models/flag.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 0aed6f86d153135459bf5e1a0c24b940 +folderAsset: yes +timeCreated: 1485010923 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagOrange.fbx b/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagOrange.fbx new file mode 100644 index 0000000..80f6812 Binary files /dev/null and b/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagOrange.fbx differ diff --git a/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagOrange.fbx.meta b/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagOrange.fbx.meta new file mode 100644 index 0000000..5e662d1 --- /dev/null +++ b/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagOrange.fbx.meta @@ -0,0 +1,81 @@ +fileFormatVersion: 2 +guid: cad7042c28e276544becda8e89a30eaa +timeCreated: 1485010926 +licenseType: Free +ModelImporter: + serializedVersion: 19 + fileIDToRecycleName: + 100000: //RootNode + 400000: //RootNode + 2300000: //RootNode + 3300000: //RootNode + 4300000: FlagOrange + 9500000: //RootNode + materials: + importMaterials: 1 + materialName: 0 + materialSearch: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + motionNodeName: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + animationCompression: 1 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + clipAnimations: [] + isReadable: 1 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + importBlendShapes: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + serializedVersion: 2 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + rootMotionBoneName: + rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 2 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagRed.fbx b/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagRed.fbx new file mode 100644 index 0000000..5100f9c Binary files /dev/null and b/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagRed.fbx differ diff --git a/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagRed.fbx.meta b/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagRed.fbx.meta new file mode 100644 index 0000000..f58bf9e --- /dev/null +++ b/IronToad_UnityProject/Assets/Art/Models/flag/flagFlagRed.fbx.meta @@ -0,0 +1,81 @@ +fileFormatVersion: 2 +guid: 3a762cbe22b16f744847a145feae589d +timeCreated: 1485010926 +licenseType: Free +ModelImporter: + serializedVersion: 19 + fileIDToRecycleName: + 100000: //RootNode + 400000: //RootNode + 2300000: //RootNode + 3300000: //RootNode + 4300000: FlagRed + 9500000: //RootNode + materials: + importMaterials: 1 + materialName: 0 + materialSearch: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + motionNodeName: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + animationCompression: 1 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + clipAnimations: [] + isReadable: 1 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + importBlendShapes: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + serializedVersion: 2 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + rootMotionBoneName: + rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 2 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Art/Models/flag/flagflaGWhite.fbx b/IronToad_UnityProject/Assets/Art/Models/flag/flagflaGWhite.fbx new file mode 100644 index 0000000..0b06924 Binary files /dev/null and b/IronToad_UnityProject/Assets/Art/Models/flag/flagflaGWhite.fbx differ diff --git a/IronToad_UnityProject/Assets/Art/Models/flag/flagflaGWhite.fbx.meta b/IronToad_UnityProject/Assets/Art/Models/flag/flagflaGWhite.fbx.meta new file mode 100644 index 0000000..2398aa6 --- /dev/null +++ b/IronToad_UnityProject/Assets/Art/Models/flag/flagflaGWhite.fbx.meta @@ -0,0 +1,81 @@ +fileFormatVersion: 2 +guid: d75d259275864544eb6e5861b1861c54 +timeCreated: 1485010926 +licenseType: Free +ModelImporter: + serializedVersion: 19 + fileIDToRecycleName: + 100000: //RootNode + 400000: //RootNode + 2300000: //RootNode + 3300000: //RootNode + 4300000: flaGWhite + 9500000: //RootNode + materials: + importMaterials: 1 + materialName: 0 + materialSearch: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + motionNodeName: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + animationCompression: 1 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + clipAnimations: [] + isReadable: 1 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + importBlendShapes: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + serializedVersion: 2 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + rootMotionBoneName: + rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 2 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_C.png b/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_C.png new file mode 100644 index 0000000..78369c4 Binary files /dev/null and b/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_C.png differ diff --git a/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_C.png.meta b/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_C.png.meta new file mode 100644 index 0000000..7d7f28b --- /dev/null +++ b/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_C.png.meta @@ -0,0 +1,68 @@ +fileFormatVersion: 2 +guid: 5110f1acb2899f949b0ce5e54ba060d6 +timeCreated: 1485010933 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_D.png b/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_D.png new file mode 100644 index 0000000..fe044f7 Binary files /dev/null and b/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_D.png differ diff --git a/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_D.png.meta b/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_D.png.meta new file mode 100644 index 0000000..3b5d684 --- /dev/null +++ b/IronToad_UnityProject/Assets/Art/Models/flag/flags_low_wire_087225087_D.png.meta @@ -0,0 +1,68 @@ +fileFormatVersion: 2 +guid: 29a8504d803f1cd4ea5689e7bbfe1767 +timeCreated: 1485010933 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Art/Models/light-cone-model.fbx b/IronToad_UnityProject/Assets/Art/Models/light-cone-model.fbx new file mode 100644 index 0000000..eb31359 Binary files /dev/null and b/IronToad_UnityProject/Assets/Art/Models/light-cone-model.fbx differ diff --git a/IronToad_UnityProject/Assets/Art/Models/light-cone-model.fbx.meta b/IronToad_UnityProject/Assets/Art/Models/light-cone-model.fbx.meta new file mode 100644 index 0000000..e731400 --- /dev/null +++ b/IronToad_UnityProject/Assets/Art/Models/light-cone-model.fbx.meta @@ -0,0 +1,80 @@ +fileFormatVersion: 2 +guid: 8c470e98dc147443d845ae84dffb6d9b +timeCreated: 1485007272 +licenseType: Pro +ModelImporter: + serializedVersion: 19 + fileIDToRecycleName: + 100000: //RootNode + 400000: //RootNode + 2300000: //RootNode + 3300000: //RootNode + 4300000: pCone5 + materials: + importMaterials: 1 + materialName: 0 + materialSearch: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + motionNodeName: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + animationCompression: 1 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + clipAnimations: [] + isReadable: 1 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + importBlendShapes: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + serializedVersion: 2 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + rootMotionBoneName: + rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 0 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/New Terrain 1.asset b/IronToad_UnityProject/Assets/New Terrain 1.asset index ca45242..4b56277 100644 Binary files a/IronToad_UnityProject/Assets/New Terrain 1.asset and b/IronToad_UnityProject/Assets/New Terrain 1.asset differ diff --git a/IronToad_UnityProject/Assets/Prefabs/light-cone.prefab b/IronToad_UnityProject/Assets/Prefabs/light-cone.prefab new file mode 100644 index 0000000..31418d8 Binary files /dev/null and b/IronToad_UnityProject/Assets/Prefabs/light-cone.prefab differ diff --git a/IronToad_UnityProject/Assets/Prefabs/light-cone.prefab.meta b/IronToad_UnityProject/Assets/Prefabs/light-cone.prefab.meta new file mode 100644 index 0000000..937e7d6 --- /dev/null +++ b/IronToad_UnityProject/Assets/Prefabs/light-cone.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e78aa7f3018974a6fb386ecc8bfbb91a +timeCreated: 1485011269 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronToad_UnityProject/Assets/Shaders/TwoToneDiffuse.shader b/IronToad_UnityProject/Assets/Shaders/TwoToneDiffuse.shader index 1d4bff3..63221f2 100644 --- a/IronToad_UnityProject/Assets/Shaders/TwoToneDiffuse.shader +++ b/IronToad_UnityProject/Assets/Shaders/TwoToneDiffuse.shader @@ -3,7 +3,7 @@ // Shader created with Shader Forge v1.30 // 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 -/*SF_DATA;ver:1.30;sub:START;pass:START;ps:flbk:,iptp:0,cusa:False,bamd:0,lico:1,lgpr:1,limd:0,spmd:1,trmd:0,grmd:0,uamb:True,mssp:True,bkdf:False,hqlp:False,rprd:False,enco:False,rmgx: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,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,stva:128,stmr:255,stmw:255,stcp:6,stps:0,stfa:0,stfz:0,ofsf:0,ofsu:0,f2p0:False,fnsp:False,fnfb:False;n:type:ShaderForge.SFN_Final,id:9361,x:33209,y:32712,varname:node_9361,prsc:2|normal-7335-RGB,custl-4882-OUT,olcol-2127-OUT;n:type:ShaderForge.SFN_Dot,id:6424,x:31547,y:33253,varname:node_6424,prsc:2,dt:0|A-3093-OUT,B-321-OUT;n:type:ShaderForge.SFN_Slider,id:5658,x:30329,y:33392,ptovrint:False,ptlb:Shadows,ptin:_Shadows,varname:node_5658,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:-1,cur:0,max:1;n:type:ShaderForge.SFN_NormalVector,id:7295,x:30447,y:33021,prsc:2,pt:True;n:type:ShaderForge.SFN_LightVector,id:7110,x:30447,y:33197,varname:node_7110,prsc:2;n:type:ShaderForge.SFN_Code,id:3093,x:30813,y:33114,varname:node_3093,prsc:2,code:ZgBsAG8AYQB0ADMAIAByAGUAdABWAGEAbAAgAD0AIABOAG8AcgBtADsACgAKAGkAbgB0ACAAcABvAHMAIAA9ACAAcwBpAGcAbgAoAFMAbABpAGQAZQByACkAOwAKAAoAcgBlAHQAVgBhAGwAIAA9ACAAbABlAHIAcAAoAE4AbwByAG0ALAAoAHAAbwBzACAAKgAgAEwAaQBnAGgAdAApACwAIAAoAHAAbwBzACAAKgAgAFMAbABpAGQAZQByACkAIAAvACAAMgApADsACgAKAHIAZQB0AHUAcgBuACAAcgBlAHQAVgBhAGwAOwAKAA==,output:2,fname:LerpnegLerp,width:422,height:155,input:2,input:2,input:0,input_1_label:Norm,input_2_label:Light,input_3_label:Slider|A-7295-OUT,B-7110-OUT,C-5658-OUT;n:type:ShaderForge.SFN_Color,id:9263,x:31810,y:32895,ptovrint:False,ptlb:HighLight,ptin:_HighLight,varname:node_9263,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,c1:1,c2:0.5,c3:0.5,c4:1;n:type:ShaderForge.SFN_Color,id:6362,x:31810,y:32402,ptovrint:False,ptlb:LowLight,ptin:_LowLight,varname:_HighLight_copy,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,c1:0,c2:0.5,c3:0.5,c4:1;n:type:ShaderForge.SFN_Lerp,id:4882,x:32569,y:32899,varname:node_4882,prsc:2|A-2411-OUT,B-982-OUT,T-4220-OUT;n:type:ShaderForge.SFN_Relay,id:2127,x:32559,y:32659,varname:node_2127,prsc:2|IN-2411-OUT;n:type:ShaderForge.SFN_Slider,id:260,x:31143,y:33716,ptovrint:False,ptlb:Gradiant,ptin:_Gradiant,varname:node_260,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:-1,cur:-1,max:1;n:type:ShaderForge.SFN_Code,id:9708,x:32006,y:33414,varname:node_9708,prsc:2,code:ZgBsAG8AYQB0ACAAcgBlAHQAVgBhAGwAOwAKAAoAZgBsAG8AYQB0ACAAdAAgAD0AIAAoACgASQBuAHAAdQB0ACAAKwAgAFMAbABpAGQAZQByACkALwAoADIAKgBTAGwAaQBkAGUAcgApACkAOwAKAHIAZQB0AFYAYQBsACAAPQAgAGwAZQByAHAAIAAoADAALAAxACwAdAApADsACgAKAHIAZQB0AHUAcgBuACAAYwBsAGEAbQBwACAAKAByAGUAdABWAGEAbAAsACAAMAAuADAALAAgADEALgAwACkAOwAKAA==,output:0,fname:CeilifGrad,width:339,height:149,input:0,input:0,input_1_label:Input,input_2_label:Slider|A-6424-OUT,B-257-OUT;n:type:ShaderForge.SFN_LightVector,id:321,x:31167,y:33337,varname:node_321,prsc:2;n:type:ShaderForge.SFN_Slider,id:3114,x:32033,y:33977,ptovrint:False,ptlb:Pen. Intensity,ptin:_PenIntensity,varname:node_3114,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:0,cur:0,max:1;n:type:ShaderForge.SFN_LightAttenuation,id:1671,x:32252,y:33718,varname:node_1671,prsc:2;n:type:ShaderForge.SFN_Lerp,id:3593,x:32469,y:33784,varname:node_3593,prsc:2|A-1597-OUT,B-1671-OUT,T-3114-OUT;n:type:ShaderForge.SFN_Vector1,id:1597,x:32206,y:33889,varname:node_1597,prsc:2,v1:1;n:type:ShaderForge.SFN_Multiply,id:4220,x:32678,y:33602,varname:node_4220,prsc:2|A-9708-OUT,B-3593-OUT;n:type:ShaderForge.SFN_TexCoord,id:9176,x:30931,y:33742,varname:node_9176,prsc:2,uv:0;n:type:ShaderForge.SFN_TexCoord,id:1762,x:31513,y:32152,varname:node_1762,prsc:2,uv:0;n:type:ShaderForge.SFN_Tex2d,id:7335,x:32519,y:32229,ptovrint:False,ptlb:Normal Map,ptin:_NormalMap,varname:node_7335,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,tex:bbab0a6f7bae9cf42bf057d8ee2755f6,ntxv:3,isnm:True|UVIN-1762-UVOUT;n:type:ShaderForge.SFN_Add,id:6459,x:31564,y:33798,varname:node_6459,prsc:2|A-260-OUT,B-8009-R;n:type:ShaderForge.SFN_Tex2d,id:8009,x:31272,y:33844,ptovrint:False,ptlb:Gradient Map,ptin:_GradientMap,varname:node_8009,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,ntxv:2,isnm:False|UVIN-9176-UVOUT;n:type:ShaderForge.SFN_Clamp01,id:257,x:31736,y:33709,varname:node_257,prsc:2|IN-6459-OUT;n:type:ShaderForge.SFN_Lerp,id:2411,x:32036,y:32513,varname:node_2411,prsc:2|A-6362-RGB,B-3920-RGB,T-6894-OUT;n:type:ShaderForge.SFN_Tex2d,id:3920,x:31810,y:32572,ptovrint:False,ptlb:LowLight Texture,ptin:_LowLightTexture,varname:node_3920,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,ntxv:2,isnm:False|UVIN-1762-UVOUT;n:type:ShaderForge.SFN_ToggleProperty,id:6894,x:31810,y:32784,ptovrint:False,ptlb:Use Textures,ptin:_UseTextures,varname:node_6894,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,on:False;n:type:ShaderForge.SFN_Lerp,id:982,x:32054,y:32919,varname:node_982,prsc:2|A-9263-RGB,B-3736-RGB,T-6894-OUT;n:type:ShaderForge.SFN_Tex2d,id:3736,x:31810,y:33067,ptovrint:False,ptlb:HighLight Texture_copy,ptin:_HighLightTexture_copy,varname:_LowLightTexture_copy,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,ntxv:0,isnm:False|UVIN-1762-UVOUT;proporder:5658-260-9263-6362-6894-3736-3920-7335-8009-3114;pass:END;sub:END;*/ +/*SF_DATA;ver:1.30;sub:START;pass:START;ps:flbk:,iptp:0,cusa:False,bamd:0,lico:0,lgpr:1,limd:0,spmd:1,trmd:0,grmd:0,uamb:True,mssp:True,bkdf:False,hqlp:False,rprd:False,enco:False,rmgx: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,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,stva:128,stmr:255,stmw:255,stcp:6,stps:0,stfa:0,stfz:0,ofsf:0,ofsu:0,f2p0:False,fnsp:False,fnfb:False;n:type:ShaderForge.SFN_Final,id:9361,x:33209,y:32712,varname:node_9361,prsc:2|normal-7335-RGB,custl-4882-OUT,olcol-2127-OUT;n:type:ShaderForge.SFN_Dot,id:6424,x:31547,y:33253,varname:node_6424,prsc:2,dt:0|A-3093-OUT,B-321-OUT;n:type:ShaderForge.SFN_Slider,id:5658,x:30329,y:33392,ptovrint:False,ptlb:Shadows,ptin:_Shadows,varname:node_5658,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:-1,cur:0,max:1;n:type:ShaderForge.SFN_NormalVector,id:7295,x:30447,y:33021,prsc:2,pt:True;n:type:ShaderForge.SFN_LightVector,id:7110,x:30447,y:33197,varname:node_7110,prsc:2;n:type:ShaderForge.SFN_Code,id:3093,x:30813,y:33114,varname:node_3093,prsc:2,code:ZgBsAG8AYQB0ADMAIAByAGUAdABWAGEAbAAgAD0AIABOAG8AcgBtADsACgAKAGkAbgB0ACAAcABvAHMAIAA9ACAAcwBpAGcAbgAoAFMAbABpAGQAZQByACkAOwAKAAoAcgBlAHQAVgBhAGwAIAA9ACAAbABlAHIAcAAoAE4AbwByAG0ALAAoAHAAbwBzACAAKgAgAEwAaQBnAGgAdAApACwAIAAoAHAAbwBzACAAKgAgAFMAbABpAGQAZQByACkAIAAvACAAMgApADsACgAKAHIAZQB0AHUAcgBuACAAcgBlAHQAVgBhAGwAOwAKAA==,output:2,fname:LerpnegLerp,width:422,height:155,input:2,input:2,input:0,input_1_label:Norm,input_2_label:Light,input_3_label:Slider|A-7295-OUT,B-7110-OUT,C-5658-OUT;n:type:ShaderForge.SFN_Color,id:9263,x:31810,y:32895,ptovrint:False,ptlb:HighLight,ptin:_HighLight,varname:node_9263,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,c1:1,c2:0.5,c3:0.5,c4:1;n:type:ShaderForge.SFN_Color,id:6362,x:31810,y:32402,ptovrint:False,ptlb:LowLight,ptin:_LowLight,varname:_HighLight_copy,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,c1:0,c2:0.5,c3:0.5,c4:1;n:type:ShaderForge.SFN_Lerp,id:4882,x:32569,y:32899,varname:node_4882,prsc:2|A-2411-OUT,B-982-OUT,T-4220-OUT;n:type:ShaderForge.SFN_Relay,id:2127,x:32559,y:32659,varname:node_2127,prsc:2|IN-2411-OUT;n:type:ShaderForge.SFN_Slider,id:260,x:31143,y:33716,ptovrint:False,ptlb:Gradiant,ptin:_Gradiant,varname:node_260,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:-1,cur:-1,max:1;n:type:ShaderForge.SFN_Code,id:9708,x:32006,y:33414,varname:node_9708,prsc:2,code:ZgBsAG8AYQB0ACAAcgBlAHQAVgBhAGwAOwAKAAoAZgBsAG8AYQB0ACAAdAAgAD0AIAAoACgASQBuAHAAdQB0ACAAKwAgAFMAbABpAGQAZQByACkALwAoADIAKgBTAGwAaQBkAGUAcgApACkAOwAKAHIAZQB0AFYAYQBsACAAPQAgAGwAZQByAHAAIAAoADAALAAxACwAdAApADsACgAKAHIAZQB0AHUAcgBuACAAYwBsAGEAbQBwACAAKAByAGUAdABWAGEAbAAsACAAMAAuADAALAAgADEALgAwACkAOwAKAA==,output:0,fname:CeilifGrad,width:339,height:149,input:0,input:0,input_1_label:Input,input_2_label:Slider|A-6424-OUT,B-257-OUT;n:type:ShaderForge.SFN_LightVector,id:321,x:31167,y:33337,varname:node_321,prsc:2;n:type:ShaderForge.SFN_Slider,id:3114,x:32033,y:33977,ptovrint:False,ptlb:Pen. Intensity,ptin:_PenIntensity,varname:node_3114,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:0,cur:0,max:1;n:type:ShaderForge.SFN_LightAttenuation,id:1671,x:32252,y:33718,varname:node_1671,prsc:2;n:type:ShaderForge.SFN_Lerp,id:3593,x:32469,y:33784,varname:node_3593,prsc:2|A-1597-OUT,B-1671-OUT,T-3114-OUT;n:type:ShaderForge.SFN_Vector1,id:1597,x:32206,y:33889,varname:node_1597,prsc:2,v1:1;n:type:ShaderForge.SFN_Multiply,id:4220,x:32678,y:33602,varname:node_4220,prsc:2|A-9708-OUT,B-3593-OUT;n:type:ShaderForge.SFN_TexCoord,id:9176,x:30931,y:33742,varname:node_9176,prsc:2,uv:0;n:type:ShaderForge.SFN_TexCoord,id:1762,x:31513,y:32152,varname:node_1762,prsc:2,uv:0;n:type:ShaderForge.SFN_Tex2d,id:7335,x:32519,y:32229,ptovrint:False,ptlb:Normal Map,ptin:_NormalMap,varname:node_7335,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,tex:bbab0a6f7bae9cf42bf057d8ee2755f6,ntxv:3,isnm:True|UVIN-1762-UVOUT;n:type:ShaderForge.SFN_Add,id:6459,x:31564,y:33798,varname:node_6459,prsc:2|A-260-OUT,B-8009-R;n:type:ShaderForge.SFN_Tex2d,id:8009,x:31272,y:33844,ptovrint:False,ptlb:Gradient Map,ptin:_GradientMap,varname:node_8009,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,ntxv:2,isnm:False|UVIN-9176-UVOUT;n:type:ShaderForge.SFN_Clamp01,id:257,x:31736,y:33709,varname:node_257,prsc:2|IN-6459-OUT;n:type:ShaderForge.SFN_Lerp,id:2411,x:32036,y:32513,varname:node_2411,prsc:2|A-6362-RGB,B-3920-RGB,T-6894-OUT;n:type:ShaderForge.SFN_Tex2d,id:3920,x:31810,y:32572,ptovrint:False,ptlb:LowLight Texture,ptin:_LowLightTexture,varname:node_3920,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,ntxv:2,isnm:False|UVIN-1762-UVOUT;n:type:ShaderForge.SFN_ToggleProperty,id:6894,x:31810,y:32784,ptovrint:False,ptlb:Use Textures,ptin:_UseTextures,varname:node_6894,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,on:False;n:type:ShaderForge.SFN_Lerp,id:982,x:32054,y:32919,varname:node_982,prsc:2|A-9263-RGB,B-3736-RGB,T-6894-OUT;n:type:ShaderForge.SFN_Tex2d,id:3736,x:31810,y:33067,ptovrint:False,ptlb:HighLight Texture_copy,ptin:_HighLightTexture_copy,varname:_LowLightTexture_copy,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,ntxv:0,isnm:False|UVIN-1762-UVOUT;proporder:5658-260-9263-6362-6894-3736-3920-7335-8009-3114;pass:END;sub:END;*/ Shader "Geomantle/TwoToneDiffuse" { Properties { @@ -119,104 +119,6 @@ Shader "Geomantle/TwoToneDiffuse" { } ENDCG } - Pass { - Name "FORWARD_DELTA" - Tags { - "LightMode"="ForwardAdd" - } - Blend One One - - - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - #define UNITY_PASS_FORWARDADD - #include "UnityCG.cginc" - #include "AutoLight.cginc" - #include "Lighting.cginc" - #pragma multi_compile_fwdadd_fullshadows - #pragma multi_compile_fog - #pragma exclude_renderers gles3 metal d3d11_9x xbox360 xboxone ps3 ps4 psp2 - #pragma target 3.0 - uniform float _Shadows; - float3 LerpnegLerp( float3 Norm , float3 Light , float Slider ){ - float3 retVal = Norm; - - int pos = sign(Slider); - - retVal = lerp(Norm,(pos * Light), (pos * Slider) / 2); - - return retVal; - - } - - uniform float4 _HighLight; - uniform float4 _LowLight; - uniform float _Gradiant; - float CeilifGrad( float Input , float Slider ){ - float retVal; - - float t = ((Input + Slider)/(2*Slider)); - retVal = lerp (0,1,t); - - return clamp (retVal, 0.0, 1.0); - - } - - uniform float _PenIntensity; - uniform sampler2D _NormalMap; uniform float4 _NormalMap_ST; - uniform sampler2D _GradientMap; uniform float4 _GradientMap_ST; - uniform sampler2D _LowLightTexture; uniform float4 _LowLightTexture_ST; - uniform fixed _UseTextures; - uniform sampler2D _HighLightTexture_copy; uniform float4 _HighLightTexture_copy_ST; - struct VertexInput { - float4 vertex : POSITION; - float3 normal : NORMAL; - float4 tangent : TANGENT; - float2 texcoord0 : TEXCOORD0; - }; - struct VertexOutput { - float4 pos : SV_POSITION; - float2 uv0 : TEXCOORD0; - float4 posWorld : TEXCOORD1; - float3 normalDir : TEXCOORD2; - float3 tangentDir : TEXCOORD3; - float3 bitangentDir : TEXCOORD4; - LIGHTING_COORDS(5,6) - UNITY_FOG_COORDS(7) - }; - VertexOutput vert (VertexInput v) { - VertexOutput o = (VertexOutput)0; - o.uv0 = v.texcoord0; - 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); - o.pos = mul(UNITY_MATRIX_MVP, 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 _NormalMap_var = UnpackNormal(tex2D(_NormalMap,TRANSFORM_TEX(i.uv0, _NormalMap))); - float3 normalLocal = _NormalMap_var.rgb; - float3 normalDirection = normalize(mul( normalLocal, tangentTransform )); // Perturbed normals - float3 lightDirection = normalize(lerp(_WorldSpaceLightPos0.xyz, _WorldSpaceLightPos0.xyz - i.posWorld.xyz,_WorldSpaceLightPos0.w)); -////// Lighting: - float attenuation = LIGHT_ATTENUATION(i); - float4 _LowLightTexture_var = tex2D(_LowLightTexture,TRANSFORM_TEX(i.uv0, _LowLightTexture)); - float3 node_2411 = lerp(_LowLight.rgb,_LowLightTexture_var.rgb,_UseTextures); - float4 _HighLightTexture_copy_var = tex2D(_HighLightTexture_copy,TRANSFORM_TEX(i.uv0, _HighLightTexture_copy)); - float4 _GradientMap_var = tex2D(_GradientMap,TRANSFORM_TEX(i.uv0, _GradientMap)); - float3 finalColor = lerp(node_2411,lerp(_HighLight.rgb,_HighLightTexture_copy_var.rgb,_UseTextures),(CeilifGrad( dot(LerpnegLerp( normalDirection , lightDirection , _Shadows ),lightDirection) , saturate((_Gradiant+_GradientMap_var.r)) )*lerp(1.0,attenuation,_PenIntensity))); - fixed4 finalRGBA = fixed4(finalColor * 1,0); - UNITY_APPLY_FOG(i.fogCoord, finalRGBA); - return finalRGBA; - } - ENDCG - } } FallBack "Diffuse" CustomEditor "ShaderForgeMaterialInspector" diff --git a/IronToad_UnityProject/Assets/Shaders/TwoToneDiffuse.shader.meta b/IronToad_UnityProject/Assets/Shaders/TwoToneDiffuse.shader.meta index f1a3ebb..d751aa7 100644 --- a/IronToad_UnityProject/Assets/Shaders/TwoToneDiffuse.shader.meta +++ b/IronToad_UnityProject/Assets/Shaders/TwoToneDiffuse.shader.meta @@ -1,7 +1,7 @@ fileFormatVersion: 2 guid: 5a54ffaff2b76814ca8e6209d7912ba2 -timeCreated: 1485013012 -licenseType: Pro +timeCreated: 1484972480 +licenseType: Free ShaderImporter: defaultTextures: [] userData: diff --git a/IronToad_UnityProject/Assets/_Scenes/GreyBox_Prototype.unity b/IronToad_UnityProject/Assets/_Scenes/GreyBox_Prototype.unity index 7d72eda..7307103 100644 Binary files a/IronToad_UnityProject/Assets/_Scenes/GreyBox_Prototype.unity and b/IronToad_UnityProject/Assets/_Scenes/GreyBox_Prototype.unity differ