Skip to content

Commit

Permalink
Reduce edge depth issues
Browse files Browse the repository at this point in the history
  • Loading branch information
boatbomber committed Apr 11, 2022
1 parent 95e51d3 commit 8cd9250
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function module.new(ResX: number, ResY: number)
Folder.Parent = World

local Camera = Instance.new("Camera")
Camera.FieldOfView = 20
Camera.FieldOfView = 15
Camera.Parent = Container
Container.CurrentCamera = Camera
Camera.CFrame = CFrame.lookAt(
Expand All @@ -67,7 +67,7 @@ function module.new(ResX: number, ResY: number)
-- Create a pool of Frame instances with Gradients
do
local Pixel = Instance.new("Part")
Pixel.Color = Color3.new(1, 1, 1)
Pixel.Color = Color3.new(1, 1, 0.02)
Pixel.Size = Vector3.new(0.1, 0.1, 0.1)
Pixel.Material = Enum.Material.SmoothPlastic
Pixel.Anchored = true
Expand Down Expand Up @@ -201,7 +201,7 @@ function module.new(ResX: number, ResY: number)
local pixel = self._Pixels[pixelCount] or self._Pool:Get()
pixel.Name = string.format("(%d, %d)-(%d, %d)", x, y, x + width, y + height)
pixel.Color = color
pixel.Size = Vector3.new(width * 0.1, height * 0.1, 1)
pixel.Size = Vector3.new(width * 0.1, height * 0.1, 0.02)
--pixel.Position = Vector3.new(-ResX/2 + x + width/2, ResY/2 - y - height/2, 0)

parts[pixelCount] = pixel
Expand Down

0 comments on commit 8cd9250

Please sign in to comment.