Compare commits

..

No commits in common. "aa610035b10aee428cab3609f554058c65547b83" and "6f07643431967406dd903ce2c0703b3c59b0dc7c" have entirely different histories.

9 changed files with 52 additions and 43 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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();