🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Week 4 Log

Published February 05, 2024
Advertisement

This week I fixed and finished the wall transparency.

Had to edit some of the variables in my shader graph to make them global so that I could edit them with universally over all the materials that use it, by running this code

        Shader.SetGlobalFloat("_Size", currentSize);
        Shader.SetGlobalFloat("_Smoothness", smoothness);

As well as made the size of the see threw part Lerp when the player goes behind an object. By ray casting from the camera up to 2 meters away and when it hits anything the player is considered behind a wall or something.

Previous Entry Week 3 Log
Next Entry Week 6 Log
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Week 11

14340 views

Week 10

11852 views

Week 9

19193 views

Week 8

15180 views

Week 7

10372 views

Week 6 Log

2393 views

Week 4 Log

2015 views

Week 3 Log

894 views

Week 2 log

717 views
Advertisement