이미지머테리얼투명+카메라테스트

This commit is contained in:
SweetJJuya 2025-02-28 15:19:50 +09:00
parent 7206cd0c1c
commit e1a43b9c55
15 changed files with 107937 additions and 47053 deletions

File diff suppressed because it is too large Load Diff

View File

@ -122949,7 +122949,7 @@ Transform:
m_GameObject: {fileID: 1327326045}
serializedVersion: 2
m_LocalRotation: {x: 0.4743957, y: 0.042811792, z: 0.8790474, w: 0.019789172}
m_LocalPosition: {x: -0.441, y: 0.0724, z: 0.1926}
m_LocalPosition: {x: -0.4627, y: 0.0709, z: 0.1768}
m_LocalScale: {x: -0.0015736335, y: -0.0015287871, z: -0.0015085747}
m_ConstrainProportionsScale: 0
m_Children: []

View File

@ -0,0 +1,35 @@
using UnityEngine;
public class Camera_ViewSetting : MonoBehaviour
{
[SerializeField]
private GameObject nearBack;
[SerializeField]
private GameObject nearSide;
[SerializeField]
private GameObject farBack;
[SerializeField]
private GameObject farTop;
[SerializeField]
private GameObject backIn;
// Update is called once per frame
void Update()
{
if (Input.GetKey(KeyCode.Alpha1)) { AllDisalbe(); nearBack.SetActive(true); }
else if (Input.GetKey(KeyCode.Alpha2)){ AllDisalbe(); nearSide.SetActive(true); }
else if (Input.GetKey(KeyCode.Alpha3)){ AllDisalbe(); farBack.SetActive(true); }
else if (Input.GetKey(KeyCode.Alpha4)){ AllDisalbe(); farTop.SetActive(true); }
else if (Input.GetKey(KeyCode.Alpha5)){ AllDisalbe(); backIn.SetActive(true); }
}
void AllDisalbe()
{
nearBack.SetActive(false);
nearSide.SetActive(false);
farBack.SetActive(false);
farTop.SetActive(false);
backIn.SetActive(false);
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 006f6b2591adf9345b543362f4dedc2f

View File

@ -58,12 +58,12 @@ namespace BlueWater
float move_time = (-speed * time);
if (Input.GetKey(KeyCode.UpArrow)|| Input.GetKey(KeyCode.W))
if (Input.GetKey(KeyCode.UpArrow)|| Input.GetKey(KeyCode.T))
{
force += force_add;
if (force >= 1.0f) force = 1.0f;
}
else if (Input.GetKey(KeyCode.DownArrow) || Input.GetKey(KeyCode.S))
else if (Input.GetKey(KeyCode.DownArrow) || Input.GetKey(KeyCode.G))
{
if (force > 0.0f)
{
@ -119,11 +119,11 @@ namespace BlueWater
Smoke7.startSize = 0.2f * (force);
Smoke8.startSize = 0.2f * (force);
if (Input.GetKey(KeyCode.RightArrow)|| Input.GetKey(KeyCode.D))
if (Input.GetKey(KeyCode.RightArrow)|| Input.GetKey(KeyCode.H))
{
obj.transform.Rotate(new Vector3(0.0f, speed * Time.deltaTime , 0.0f));
}
else if (Input.GetKey(KeyCode.LeftArrow)|| Input.GetKey(KeyCode.A))
else if (Input.GetKey(KeyCode.LeftArrow)|| Input.GetKey(KeyCode.F))
{
obj.transform.Rotate(new Vector3(0.0f, speed * -Time.deltaTime , 0.0f));
}

View File

@ -181,7 +181,7 @@
"m_FragmentContext": {
"m_Position": {
"x": 1514.0,
"y": 993.0
"y": 992.9999389648438
},
"m_Blocks": [
{
@ -296,7 +296,7 @@
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"isMainTexture": false,
@ -981,7 +981,7 @@
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 25e7effb9f31c554db492909fd692879
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}

View File

@ -8,7 +8,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Box
m_Shader: {fileID: -6465566751694194690, guid: 940d79357fd7a4f01a49e7247aeaa4da, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: 25e7effb9f31c554db492909fd692879, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []

View File

@ -8,7 +8,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: DeathTree
m_Shader: {fileID: -6465566751694194690, guid: 940d79357fd7a4f01a49e7247aeaa4da, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: 25e7effb9f31c554db492909fd692879, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []

View File

@ -8,7 +8,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: DeathTree02
m_Shader: {fileID: -6465566751694194690, guid: 940d79357fd7a4f01a49e7247aeaa4da, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: 25e7effb9f31c554db492909fd692879, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []

View File

@ -8,7 +8,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Dungeon
m_Shader: {fileID: -6465566751694194690, guid: 940d79357fd7a4f01a49e7247aeaa4da, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: 25e7effb9f31c554db492909fd692879, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []

View File

@ -8,7 +8,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: House
m_Shader: {fileID: -6465566751694194690, guid: 940d79357fd7a4f01a49e7247aeaa4da, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: 25e7effb9f31c554db492909fd692879, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []

View File

@ -8,7 +8,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Rock
m_Shader: {fileID: -6465566751694194690, guid: 940d79357fd7a4f01a49e7247aeaa4da, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: 25e7effb9f31c554db492909fd692879, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []

View File

@ -8,7 +8,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Tree
m_Shader: {fileID: -6465566751694194690, guid: 940d79357fd7a4f01a49e7247aeaa4da, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: 25e7effb9f31c554db492909fd692879, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []