Skip to content

Commit

Permalink
disable usemipmap and autogenerateMips in Camera Sensor Device
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunseok-yang committed Dec 19, 2024
1 parent fe646ee commit ac9df97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Devices/Camera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ private void SetupDefaultCamera()
dimension: TextureDimension.Tex2D,
msaaSamples: MSAASamples.MSAA2x,
enableRandomWrite: false,
useMipMap: true,
autoGenerateMips: true,
useMipMap: false,
autoGenerateMips: false,
isShadowMap: false,
anisoLevel: 3,
mipMapBias: 0,
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Devices/Lidar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ private IEnumerator LaserProcsssing()

laserScan.WorldPose.Position.Set(lidarPosition);
laserScan.WorldPose.Orientation.Set(lidarRotation);

var laserSamplesH = (int)horizontal.samples;
var laserStartAngleH = (float)horizontal.angle.min;
var laserEndAngleH = (float)horizontal.angle.max;
Expand Down

0 comments on commit ac9df97

Please sign in to comment.