working tutorial steps https://minecraft-addon-tools.github.io/tutorials/getting-started
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // unity version : https://unitycoder.com/blog/2019/05/09/fast-algorithm-for-corner-detection-in-unity/ | |
| // NOTE this is not optimized in any way | |
| // original source https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_feature2d/py_fast/py_fast.html | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| public class FeaturesAcceleratedSegmentTest : MonoBehaviour |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://github.com/Unity-Technologies/ScriptableRenderPipeline/blob/master/com.unity.render-pipelines.core/ShaderLibrary/API/D3D11.hlsl | |
| // This file assume SHADER_API_D3D11 is defined | |
| #define UNITY_UV_STARTS_AT_TOP 1 | |
| #define UNITY_REVERSED_Z 1 | |
| #define UNITY_NEAR_CLIP_VALUE (1.0) | |
| // This value will not go through any matrix projection conversion | |
| #define UNITY_RAW_FAR_CLIP_VALUE (0.0) | |
| #define VERTEXID_SEMANTIC SV_VertexID | |
| #define INSTANCEID_SEMANTIC SV_InstanceID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // unity sharpcompress example : https://unitycoder.com/blog/2019/05/12/using-sharpcompress-in-unity/ | |
| // https://github.com/adamhathcock/sharpcompress | |
| using SharpCompress.Archives; | |
| using SharpCompress.Archives.Zip; | |
| using System.IO; | |
| using UnityEngine; | |
| public class SharpCompressTest : MonoBehaviour | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // source https://forum.unity.com/threads/unity-5-standart-shader-with-tesselation.318751/#post-2082612 | |
| Shader "Custom/Standard-Tesselated" { | |
| Properties{ | |
| _Color("Color", Color) = (1,1,1,1) | |
| _MainTex("Albedo (RGB)", 2D) = "white" {} | |
| _Glossiness("Smoothness", Range(0,1)) = 0.5 | |
| _Metallic("Metallic", Range(0,1)) = 0.0 | |
| _Height("Height", 2D) = "black"{} | |
| _HeightmapTiling("Heightmap tiling", Float) = 1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ERROR | |
| Warning: mysqli_query(): (HY000/1030): Got error 28 from storage engine in /home/edna/public_html/geocities/wp-includes/wp-db.php on line 2007 | |
| SOLUTION | |
| contact support, cause is: | |
| "mysqltmp directory filling up. Normally our system monitors are able to resolve this before it becomes a live issue." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public Color Col { | |
| get { return col; } | |
| set { | |
| col = value; | |
| colChanged = true; | |
| } | |
| } | |
| [SerializeField] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://forum.unity.com/threads/need-help-fixed-size-billboard.688054/#post-4604032 | |
| Shader "Unlit/Constant Scale Quad Billboard" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "white" {} | |
| } | |
| SubShader | |
| { | |
| Tags { "RenderType"="Opaque" } |
https://www.scriptspot.com/3ds-max/scripts/batch-exportimport
F11 > for obj in objects do (obj.wirecolor = color (random 0 255) (random 0 255) (random 0 255))
for obj in objects do obj.material = copy (StandardMaterial name:("Mat_" + obj.name) diffuse:(color (random 0 255) (random 0 255) (random 0 255)))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://pastebin.com/0HYnXKLC | |
| Shader "Unlit/recieveShadowMapWithOutline" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "white" {} | |
| } | |
| SubShader | |
| { | |
| Tags { "LightMode" = "ForwardBase" |