Skip to content

Instantly share code, notes, and snippets.

View nebadon2025's full-sized avatar

Michael Cerquoni nebadon2025

View GitHub Profile
@nebadon2025
nebadon2025 / InteractionRaycaster.cs
Created October 15, 2023 23:29 — forked from HilariousCow/InteractionRaycaster.cs
If you are finding that PhysicsRaycaster isn't working when you use Cursor.lockstate (i.e. an FPS game), use this instead.
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.EventSystems;
//I used ILSpy on the Unity UI dll to copy out the Physicsraycaster code and fix where the ray eminates from (in this case, always the center of the screen)
public class InteractionRaycaster : PhysicsRaycaster {
[Range(0.0f, 0.5f)]
@nebadon2025
nebadon2025 / cycles_material_text_node.py
Created January 28, 2021 04:41 — forked from beiller/cycles_material_text_node.py
This script will convert blender internal materials to principled shader node materials
# cycles_material_text_node.py Copyright (C) 2012, Silvio Falcinelli
# cycles_material_text_node.py Copyright (C) 2019, beiller?
#
# Show Information About the Blend.
# ***** BEGIN GPL LICENSE BLOCK *****
#
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
@nebadon2025
nebadon2025 / install_amdgpu__vce_mesa_opencl.sh
Created May 27, 2020 15:33 — forked from kadrim/install_amdgpu__vce_mesa_opencl.sh
Install amdgpu-pro packages on Debian (openCL, mesa, VCE) only.
#!/bin/bash
# -------------------------------------------------------------------------------------------------------------------------#
# 1st: Download the amdgpu-drivers from here: https://www.amd.com/de/support/kb/release-notes/rn-amdgpu-unified-navi-linux #
# -------------------------------------------------------------------------------------------------------------------------#
#=============================#
### CONFIG ###
# ADJUST VERSIONS ACCORDINGLY!
PACKAGE="amdgpu-pro"