Replace vectors and matrix4x4s to floatx from Mathematics
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Unity.Mathematics;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
|
||||
@@ -10,12 +11,12 @@ namespace Misaki.AoVolume
|
||||
{
|
||||
[HideInInspector]
|
||||
[NonSerialized]
|
||||
public Matrix4x4 worldMatrix;
|
||||
public float4x4 worldMatrix;
|
||||
[HideInInspector]
|
||||
[NonSerialized]
|
||||
public Matrix4x4 inverseWorldMatrix;
|
||||
public float4x4 inverseWorldMatrix;
|
||||
|
||||
public Vector3 size;
|
||||
public float3 size;
|
||||
|
||||
[Range(0.0f, 1.0f)]
|
||||
public float intensity;
|
||||
@@ -26,7 +27,7 @@ namespace Misaki.AoVolume
|
||||
|
||||
public static VolumeData Default => new()
|
||||
{
|
||||
size = Vector3.one,
|
||||
size = new float3(1f),
|
||||
intensity = 1.0f,
|
||||
falloff = 0.25f,
|
||||
normalFalloff = 0.0f
|
||||
|
||||
Reference in New Issue
Block a user