- experimental define to help fast moving cam https://forum.unity.com/threads/solved-cinemachine-freelook-has-bad-jitter-at-high-speed-but-only-from-behind.1034971/#post-8396199
- Cinemachine Freelook instant rotation https://forum.unity.com/threads/cinemachine-freelook-instant-rotation.1256463/#post-7984827
- Raycast wrong position? https://forum.unity.com/threads/wrong-raycast-start-pos-and-direction-with-virtual-camera-on-mobile-device.1162553/#post-8001360
- Custom input provider (only rotate freecam if press button) https://forum.unity.com/threads/only-rotate-cinemachine-freelook-when-action-held-down.1037044/
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
| /*Please do support www.bitshiftprogrammer.com by joining the facebook page : fb.com/BitshiftProgrammer | |
| Legal Stuff: | |
| This code is free to use no restrictions but attribution would be appreciated. | |
| Any damage caused either partly or completly due to usage this stuff is not my responsibility*/ | |
| Shader "BitshiftProgrammer/ReflectionProbeAccess" | |
| { | |
| Properties | |
| { | |
| _Roughness("Roughness", Range(0.0, 10.0)) = 0.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
| // https://forum.unity.com/threads/send-byte-array-from-js-to-unity.1252413/ | |
| getByteArrayTmp: function(instantiateByteArrayCallback) { | |
| const byteArray = new Uint8Array([21, 31]);//example | |
| Module["yourplugin"].byteArray = byteArray; | |
| }, | |
| getByteArray: function(callback, byteArray) { | |
| Module.HEAPU8.set(Module["yourplugin"].byteArray, byteArray); | |
| Module.dynCall_v(callback); | |
| }, |
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/feedback-wanted-mesh-compute-shader-access.1096531/page-2#post-7966668 | |
| #pragma kernel CSMain | |
| float4 _ControlPoints[8][8]; | |
| RWByteAddressBuffer _GraphicsBuffer; | |
| uint _TessellationFactor, _VertexCount; | |
| static float KnotVectors[8][2] = // knotsDim = (8, 8) | |
| { | |
| {0.0, 0.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
| { | |
| "name": "UnityHub", | |
| "version": "3.1.1", | |
| "description": "The Official Unity Hub", | |
| "main": "build/index.js", | |
| "repository": { | |
| "type": "git", | |
| "url": "https://github.com/Unity-Technologies/unity-hub" | |
| }, | |
| "author": "Unity Technologies Inc.", |
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
| // | |
| // Lookup Tables for Transvoxel's Modified Marching Cubes | |
| // | |
| // Unlike the original paper (Marching Cubes: A High Resolution 3D Surface Construction Algorithm), these tables guarantee | |
| // a closed mesh "whose connected components are continuous and free of holes." | |
| // | |
| // Rotations are prioritised over inversions so that 3 of the 6 cases containing ambiguous faces are never added. 3 extra | |
| // cases are added as a post-process, overriding inverses through custom-build rotations to eliminate the rest. | |
| // | |
| // Uses the exact same co-ordinate system as https://gist.github.com/dwilliamson/c041e3454a713e58baf6e4f8e5fffecd |
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
| Shader "Caustics" | |
| { | |
| Properties | |
| { | |
| [Header(Caustics)] | |
| _CausticsTexture("Texture", 2D) = "white" {} | |
| _CausticsStrength("Strength", float) = 0 | |
| _CausticsSplit("RGB Split", float) = 0 | |
| [Header(Movement)] |
- viewer http://photometricviewer.com/download.html
- IES light profiles https://ieslibrary.com/en/browse
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
| using UnityEngine; | |
| using System.Collections; | |
| public class WEBCONNECTOR : MonoBehaviour | |
| { | |
| void Start() | |
| { | |
| Application.ExternalEval("function onfoc(){GetUnity().SendMessage('WEBCONNECTOR','BrowserFocus','...');}"); | |
| Application.ExternalEval("function onblr(){GetUnity().SendMessage('WEBCONNECTOR','BrowserBlur','...');}"); | |
| Application.ExternalEval("window.onfocus=onfoc;"); |
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 buit-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) | |
| // modified to add scrolling lines fx, use black and white mask texture for scrollingtex. - unitycoder.com | |
| Shader "Sprites/ScrollFX (ScreenSpace)" | |
| { | |
| Properties | |
| { | |
| [PerRendererData] _MainTex("Sprite Texture", 2D) = "white" {} | |
| _ScrollTex("Scroll Texture", 2D) = "white" {} |