Inside facing mesh

I’m trying to make myself a “local” skybox which can be any color I want. Is it possible to make an “inward facing mesh” of a sphere which uses roblox material properties, brick color, but also wont effect shadows?

2 Likes

You can invert the rotation matrix of the CFrame.
Select the object you want to bring the inner’s out and use this command:
game.Selection:Get()[1].CFrame=CFrame.new(0,0,0,-1,0,0,0,-1,0,0,0,1)

rbxassetid://1185246

This mesh ID is an inverted sphere, however does shadow. Might be possible to stop that

Yes, you can remove completely the shadows by settings a negative value to the mesh’s scale property, like -1,1,1


local skypart = Instance.new('Part',workspace)
skypart.Name = 'skypart'
skypart.Anchored = true
skypart.CanCollide = false

local skymesh = Instance.new('SpecialMesh',skypart)
skymesh.Scale = Vector3.new(100,100,-100)
skymesh.MeshId = 'http://www.roblox.com/asset/?id=230850974'

lots of ways to do it <:

2 Likes

tru

You could easily do this in Blender too. Just scale it negatively and import it.

Not answering the question completely, but - why can’t you just use regular skyboxes on the client end? Is there a specific use case for inverted meshes?

I can’t speak for the OP, but I did look into this once. I found regular skyboxes lacking a few areas.
Most of my annoyance stems from the default nighttime skybox, and those awful purple effects on the horizon.
Custom skyboxes can be used in a bunch of ways:

  • One use case is fading from one skybox to another (day/night cycle, etc).
  • Another would be creating animated skyboxes, or even parallax.
  • People coming from other engines may also prefer texturing for a spherical skybox, as AFAIK most other modern engines use spherical ones now.
1 Like

A lot of these are the case for me. Fog, I want to be able to animate it, also I want to be able to set it to any color I want without having to upload a plain-color decal. I don’t want to deal with Roblox moderation just to color the sky a certain way

2 Likes