cursor transparency
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2024-08-18 15:25:31 -04:00
parent b2f7a3a232
commit 0905157327
3 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,6 @@
+ bug fixes
Fix anime outlines drawing over solid geometry
Fix anime outlines not drawing for first person pipeline
Fix cursor transparency rendering for cursor, skybox
Fix AI tracking deleted entity
Fix server ground movement tree playing animation over falling animation
Fix empty item slot not showing underneath dragged item

View File

@ -606,6 +606,9 @@ Logger toggle debug window
(08/17/2024)
Foliage serialization/deserialization
(08/18/2024)
Cursor transparency, cloud transparency
# TODO

View File

@ -201,6 +201,7 @@ public class ClientLoading {
//cloud ring pseudo skybox
Entity cloudRing = EntityCreationUtils.createClientSpatialEntity();
EntityCreationUtils.makeEntityDrawable(cloudRing, "Models/environment/cloudRing.fbx");
DrawableUtils.makeEntityTransparent(cloudRing);
DrawableUtils.disableCulling(cloudRing);
EntityUtils.getRotation(cloudRing).rotateX((float)(-Math.PI/2.0f));
EntityUtils.getScale(cloudRing).mul(100000.0f);
@ -210,6 +211,7 @@ public class ClientLoading {
//player's cursor
Globals.playerCursor = EntityCreationUtils.createClientSpatialEntity();
EntityCreationUtils.makeEntityDrawable(Globals.playerCursor, "Models/basic/geometry/unitsphere_1.fbx");
DrawableUtils.makeEntityTransparent(Globals.playerCursor);
EntityUtils.getScale(Globals.playerCursor).set(30f);
}