Compare commits
No commits in common. "aa610035b10aee428cab3609f554058c65547b83" and "6f07643431967406dd903ce2c0703b3c59b0dc7c" have entirely different histories.
aa610035b1
...
6f07643431
9 changed files with 52 additions and 43 deletions
|
@ -143,7 +143,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!114 &34125274
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -158,7 +158,7 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
type: 3
|
||||
objectId: 94d9cfa6-b350-4290-abeb-7b1692bf2c6e
|
||||
randomNum: 60249930
|
||||
randomNum: 60695246
|
||||
unityVersion: 2021.3.41f1
|
||||
cckVersion: 3.10:132
|
||||
--- !u!114 &34125275
|
||||
|
@ -1007,7 +1007,7 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
type: 3
|
||||
objectId: dfb56a47-2b0b-4814-a4b0-950b5054b182
|
||||
randomNum: 76182449
|
||||
randomNum: 95618923
|
||||
unityVersion: 2021.3.41f1
|
||||
cckVersion: 3.10:132
|
||||
--- !u!114 &649783671
|
||||
|
@ -1756,7 +1756,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!114 &853608960
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -1771,7 +1771,7 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
type: 3
|
||||
objectId: e51ea4c1-d42c-4790-91a1-78d2bf6fef59
|
||||
randomNum: 21526925
|
||||
randomNum: 42815474
|
||||
unityVersion: 2021.3.41f1
|
||||
cckVersion: 3.10:132
|
||||
--- !u!114 &853608961
|
||||
|
@ -3250,7 +3250,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!114 &2089314930
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -3265,7 +3265,7 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
type: 3
|
||||
objectId: 4e7f3dcf-e925-473a-89e2-dfe6cfe7eac5
|
||||
randomNum: 62949192
|
||||
randomNum: 67221367
|
||||
unityVersion: 2021.3.41f1
|
||||
cckVersion: 3.10:132
|
||||
--- !u!114 &2089314931
|
||||
|
|
|
@ -57,7 +57,7 @@ Material:
|
|||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints:
|
||||
- _MaxSteps: 100
|
||||
- _MaxSteps: 128
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
|
|
|
@ -13,9 +13,9 @@ Shader "CrispyPin/FleshCube2"
|
|||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
|
||||
#define MAX_STEPS 100
|
||||
#define MAX_STEPS 128
|
||||
#define MAX_DIST 128
|
||||
#define SURF_DIST 0.025
|
||||
#define SURF_DIST 0.01
|
||||
|
||||
#define SCENE_FN main
|
||||
#define SCENE_SCALE 0.04
|
||||
|
|
|
@ -57,7 +57,7 @@ Material:
|
|||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints:
|
||||
- _MaxSteps: 32
|
||||
- _MaxSteps: 128
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
|
@ -75,7 +75,7 @@ Material:
|
|||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SurfDist: 0.02
|
||||
- _SurfDist: 0.001
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
|
|
|
@ -13,8 +13,8 @@ Shader "CrispyPin/Loops"
|
|||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
|
||||
#define MAX_STEPS 64
|
||||
#define MAX_DIST 256
|
||||
#define MAX_STEPS 128
|
||||
#define MAX_DIST 128
|
||||
#define SURF_DIST 0.01
|
||||
|
||||
#define SCENE_FN main
|
||||
|
|
|
@ -1472,7 +1472,7 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
type: 3
|
||||
objectId: 9fee86b2-a9bd-46a3-a364-5f94506c4253
|
||||
randomNum: 50966792
|
||||
randomNum: 95403234
|
||||
unityVersion: 2021.3.41f1
|
||||
cckVersion: 3.10:132
|
||||
--- !u!114 &2046637845
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -8,6 +8,7 @@ use image::{GenericImageView, ImageReader};
|
|||
const FULL_CHARSET: &[u8] = b" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\n\t";
|
||||
|
||||
fn main() {
|
||||
const A:u8 = FULL_CHARSET[64];
|
||||
// source code conversion
|
||||
let source_text = read_to_string("../Assets/test/quine.shader").unwrap();
|
||||
let mut encoded_text: Vec<u32> = Vec::new();
|
||||
|
|
Loading…
Reference in a new issue