init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// you can write GLSL code directly in here
|
||||
|
||||
#include <builtin/uniforms/cc-global>
|
||||
|
||||
#define iResolution cc_screenSize
|
||||
#define iTime cc_time.x
|
||||
#define iTimeDelta cc_time.y
|
||||
#define iFrame cc_time.z
|
||||
|
||||
// shadertoy template
|
||||
void mainImage (out vec4 fragColor, in vec2 fragCoord) {
|
||||
// Normalized pixel coordinates (from 0 to 1)
|
||||
vec2 uv = fragCoord / iResolution.xy;
|
||||
// Time varying pixel color
|
||||
vec3 col = 0.5 + 0.5 * cos(iTime + uv.xyx + vec3(0, 2, 4));
|
||||
// Output to screen
|
||||
fragColor = vec4(col, 1.0);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"__type__": "cc.Asset",
|
||||
"_name": "chunk",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": ""
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"__type__": "cc.Material",
|
||||
"_name": "lambert101",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": "",
|
||||
"_effectAsset": {
|
||||
"__uuid__": "f648964e-8d32-41fc-9ac9-7a1e714dd17b",
|
||||
"__expectedType__": "cc.EffectAsset"
|
||||
},
|
||||
"_techIdx": 0,
|
||||
"_defines": [
|
||||
{
|
||||
"DCC_APP_NAME": 5
|
||||
}
|
||||
],
|
||||
"_states": [
|
||||
{
|
||||
"rasterizerState": {},
|
||||
"blendState": {
|
||||
"targets": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
"depthStencilState": {}
|
||||
}
|
||||
],
|
||||
"_props": [
|
||||
{
|
||||
"albedoScale": 0.800000011920929,
|
||||
"mainColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"emissiveScale": 1,
|
||||
"emissive": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 0,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"__type__": "cc.Texture2D",
|
||||
"content": {
|
||||
"base": "2,2,0,0,0,0",
|
||||
"mipmaps": [
|
||||
"1f763ab6-a1c0-46c3-bfd1-16a9f55aa57e@9b723"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"persistent": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "SM_Tile_Hex_Concrete_03",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": null,
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 2
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [],
|
||||
"_prefab": {
|
||||
"__id__": 7
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "SM_Tile_Hex_Concrete_03",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 3
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.MeshRenderer",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "1f763ab6-a1c0-46c3-bfd1-16a9f55aa57e@56820",
|
||||
"__expectedType__": "cc.Material"
|
||||
}
|
||||
],
|
||||
"_visFlags": 0,
|
||||
"bakeSettings": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_mesh": {
|
||||
"__uuid__": "1f763ab6-a1c0-46c3-bfd1-16a9f55aa57e@c0d58",
|
||||
"__expectedType__": "cc.Mesh"
|
||||
},
|
||||
"_shadowCastingMode": 0,
|
||||
"_shadowReceivingMode": 1,
|
||||
"_shadowBias": 0,
|
||||
"_shadowNormalBias": 0,
|
||||
"_reflectionProbeId": -1,
|
||||
"_reflectionProbeBlendId": -1,
|
||||
"_reflectionProbeBlendWeight": 0,
|
||||
"_enabledGlobalStandardSkinObject": false,
|
||||
"_enableMorph": true,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "d9Ypw/B6JempQx5XPuFHge"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ModelBakeSettings",
|
||||
"texture": null,
|
||||
"uvParam": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 0
|
||||
},
|
||||
"_bakeable": false,
|
||||
"_castShadow": false,
|
||||
"_receiveShadow": false,
|
||||
"_recieveShadow": false,
|
||||
"_lightmapSize": 64,
|
||||
"_useLightProbe": false,
|
||||
"_bakeToLightProbe": true,
|
||||
"_reflectionProbeType": 0,
|
||||
"_bakeToReflectionProbe": true
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "33ZIy5EiRT37GQvs3ysIgX",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "0eHvPaEEhaJ6uaXQ/LA9Fh",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"__type__": "cc.ImageAsset",
|
||||
"content": {
|
||||
"fmt": "0",
|
||||
"w": 0,
|
||||
"h": 0
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 70 B |
Binary file not shown.
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"__type__": "cc.Mesh",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": ".bin",
|
||||
"_struct": {
|
||||
"primitives": [
|
||||
{
|
||||
"primitiveMode": 7,
|
||||
"vertexBundelIndices": [
|
||||
0
|
||||
],
|
||||
"indexView": {
|
||||
"offset": 9792,
|
||||
"length": 672,
|
||||
"count": 336,
|
||||
"stride": 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"vertexBundles": [
|
||||
{
|
||||
"view": {
|
||||
"offset": 0,
|
||||
"length": 9792,
|
||||
"count": 204,
|
||||
"stride": 48
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"name": "a_position",
|
||||
"format": 32,
|
||||
"isNormalized": false
|
||||
},
|
||||
{
|
||||
"name": "a_normal",
|
||||
"format": 32,
|
||||
"isNormalized": false
|
||||
},
|
||||
{
|
||||
"name": "a_texCoord",
|
||||
"format": 21,
|
||||
"isNormalized": false
|
||||
},
|
||||
{
|
||||
"name": "a_tangent",
|
||||
"format": 44,
|
||||
"isNormalized": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"minPosition": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -2.887087345123291,
|
||||
"y": -0.4314727783203125,
|
||||
"z": -2.500378370285034
|
||||
},
|
||||
"maxPosition": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 2.887087345123291,
|
||||
"y": 3.814697180359872e-8,
|
||||
"z": 2.500378370285034
|
||||
}
|
||||
},
|
||||
"_hash": 4069450710,
|
||||
"_allowDataAccess": true
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"__type__": "cc.Mesh",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": ".bin",
|
||||
"_struct": {
|
||||
"primitives": [
|
||||
{
|
||||
"primitiveMode": 7,
|
||||
"vertexBundelIndices": [
|
||||
0
|
||||
],
|
||||
"indexView": {
|
||||
"offset": 80016,
|
||||
"length": 6216,
|
||||
"count": 3108,
|
||||
"stride": 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"vertexBundles": [
|
||||
{
|
||||
"view": {
|
||||
"offset": 0,
|
||||
"length": 80016,
|
||||
"count": 1667,
|
||||
"stride": 48
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"name": "a_position",
|
||||
"format": 32,
|
||||
"isNormalized": false
|
||||
},
|
||||
{
|
||||
"name": "a_normal",
|
||||
"format": 32,
|
||||
"isNormalized": false
|
||||
},
|
||||
{
|
||||
"name": "a_texCoord",
|
||||
"format": 21,
|
||||
"isNormalized": false
|
||||
},
|
||||
{
|
||||
"name": "a_tangent",
|
||||
"format": 44,
|
||||
"isNormalized": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"minPosition": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -0.6100308299064636,
|
||||
"y": -0.3499999940395355,
|
||||
"z": -0.6100314855575562
|
||||
},
|
||||
"maxPosition": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.610034167766571,
|
||||
"y": 2.5317487716674805,
|
||||
"z": 0.6100314855575562
|
||||
}
|
||||
},
|
||||
"_hash": 2398570093,
|
||||
"_allowDataAccess": true
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"__type__": "cc.Material",
|
||||
"_name": "lambert314",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": "",
|
||||
"_effectAsset": {
|
||||
"__uuid__": "f648964e-8d32-41fc-9ac9-7a1e714dd17b",
|
||||
"__expectedType__": "cc.EffectAsset"
|
||||
},
|
||||
"_techIdx": 0,
|
||||
"_defines": [
|
||||
{
|
||||
"DCC_APP_NAME": 5
|
||||
}
|
||||
],
|
||||
"_states": [
|
||||
{
|
||||
"rasterizerState": {},
|
||||
"blendState": {
|
||||
"targets": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
"depthStencilState": {}
|
||||
}
|
||||
],
|
||||
"_props": [
|
||||
{
|
||||
"albedoScale": 0.800000011920929,
|
||||
"mainColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"emissiveScale": 1,
|
||||
"emissive": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 0,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"__type__": "cc.ImageAsset",
|
||||
"content": {
|
||||
"fmt": "0",
|
||||
"w": 0,
|
||||
"h": 0
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 70 B |
@@ -0,0 +1,193 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"persistent": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "SM_Bld_OfficeSquare_01",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": null,
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 2
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [],
|
||||
"_prefab": {
|
||||
"__id__": 7
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "SM_Bld_OfficeSquare_01",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 3
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.MeshRenderer",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "1fdfbca9-7d4f-4b43-bef4-80372769c9a2@83a57",
|
||||
"__expectedType__": "cc.Material"
|
||||
}
|
||||
],
|
||||
"_visFlags": 0,
|
||||
"bakeSettings": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_mesh": {
|
||||
"__uuid__": "1fdfbca9-7d4f-4b43-bef4-80372769c9a2@3ed6b",
|
||||
"__expectedType__": "cc.Mesh"
|
||||
},
|
||||
"_shadowCastingMode": 0,
|
||||
"_shadowReceivingMode": 1,
|
||||
"_shadowBias": 0,
|
||||
"_shadowNormalBias": 0,
|
||||
"_reflectionProbeId": -1,
|
||||
"_reflectionProbeBlendId": -1,
|
||||
"_reflectionProbeBlendWeight": 0,
|
||||
"_enabledGlobalStandardSkinObject": false,
|
||||
"_enableMorph": true,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "182hnKt2VZFqRsiWz+MVoq"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ModelBakeSettings",
|
||||
"texture": null,
|
||||
"uvParam": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 0
|
||||
},
|
||||
"_bakeable": false,
|
||||
"_castShadow": false,
|
||||
"_receiveShadow": false,
|
||||
"_recieveShadow": false,
|
||||
"_lightmapSize": 64,
|
||||
"_useLightProbe": false,
|
||||
"_bakeToLightProbe": true,
|
||||
"_reflectionProbeType": 0,
|
||||
"_bakeToReflectionProbe": true
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "a7jeZ2AD9RTrwQeS9rQq0b",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "2cbcDrfctTrYP2dfaVddLX",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"__type__": "cc.Texture2D",
|
||||
"content": {
|
||||
"base": "2,2,0,0,0,0",
|
||||
"mipmaps": [
|
||||
"1fdfbca9-7d4f-4b43-bef4-80372769c9a2@bd09a"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user