Тёмный
No video :(

How to Make Flowing Lava (Moving Textures) in Unity 

Octo Beard
Подписаться 6 тыс.
Просмотров 12 тыс.
50% 1

Links:
- CrazyBump www.crazybump.com/
- Light Flicker Script (open source) gist.github.co...
- Glitter Background from: www.youtube.co...
- Good For You by THBD / thbdsultan Creative Commons - Attribution 3.0 Unported- CC BY 3.0 creativecommons.... Music promoted by Audio Library • Good For You - THBD (N...

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@najwamohammed3961
@najwamohammed3961 2 года назад
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MoveTexture : MonoBehaviour { public float scrollSpeed=0.1f; Renderer rend; // Start is called before the first frame update void Start() { rend = GetComponent(); } // Update is called once per frame void Update() { float moveThis = Time.time * scrollSpeed; rend.material.SetTextureOffset("_MainTex", new Vector2 (0, moveThis)); } }
@Glue676
@Glue676 Год назад
Thanks this helped me out
@meeseman7996
@meeseman7996 2 года назад
This is exactly what I needed!!!
@octobeard4946
@octobeard4946 2 года назад
Glad I could help 😊👍
@linac2435
@linac2435 Год назад
I don't understand the moveTexture for me is not working, is it because my project is in URP?
@connorpayne2671
@connorpayne2671 3 года назад
I tried this in Unity 2020.1, but it doesn't flow smoothly. It just goes back and forth like it wants to go, but it doesn't go
@connorpayne2671
@connorpayne2671 3 года назад
This is a result of writing "Time.deltaTime" instead of "Time.time" 😅
@octobeard4946
@octobeard4946 3 года назад
@@connorpayne2671 I was going to say: nothing in 2020 should alter the way that script works... 👍👍
@connorpayne2671
@connorpayne2671 3 года назад
@@octobeard4946 yep. I am glad that I figured out the issue. Maybe other people will try this, make the same mistake, and see the comment 😅
@octobeard4946
@octobeard4946 3 года назад
@@connorpayne2671 Let’s hope so, if they do. 👍👍
@DarkCyder9
@DarkCyder9 Год назад
Nice video. Is there a way to just move the emissive texture, not the whole texture?
@octobeard4946
@octobeard4946 Год назад
Not sure there would be unless it’s a different material. They’d you could move the material.
@octobeard4946
@octobeard4946 Год назад
This might help with calling an emissive material: answers.unity.com/questions/1019974/how-to-access-emission-color-of-a-material-in-scri.html
@wubblin
@wubblin 2 года назад
Thank you sir !!!!
@dgh25
@dgh25 2 года назад
Material 'LavaTex (Instance)' with Shader 'Standard' doesn't have a texture property '_MainText'
@desmukkepiger1
@desmukkepiger1 2 года назад
I think it may just be a typo - if you write "_MainTex", it should work :)
@CreativeHRM
@CreativeHRM 4 года назад
😍
@rafario448
@rafario448 2 года назад
I don't understand, for me it says "rend" doest exist in this context
@therandomyoutuber1694
@therandomyoutuber1694 Год назад
for me it said that unity had a fatal crash. depressing
Далее
How to Make a Falling Snow in Unity
20:13
Просмотров 26 тыс.
UNITY SHADER GRAPH BASICS -2  (lava material)
22:15
Просмотров 14 тыс.
Chelsea gym be like.. 😅⚽️
00:20
Просмотров 11 млн
REVEAL: Megascans + Unity [Deprecated Workflow]
18:32
Просмотров 131 тыс.
Adding Terrain Textures in Unity
6:10
Просмотров 51 тыс.
Giving Personality to Procedural Animations using Math
15:30
5 Free Map Tools for Dungeon Masters
18:51
Просмотров 982 тыс.
How to Create Road Tracks Using Road Architect in Unity
14:58
Unity VFX Graph - Shield Effect Tutorial
18:11
Просмотров 104 тыс.
A new way to generate worlds (stitched WFC)
10:51
Просмотров 526 тыс.
Dissolve Effect in Unity Shader Graph
4:29
Просмотров 68 тыс.
Can AI code Flappy Bird? Watch ChatGPT try
7:26
Просмотров 9 млн
Chelsea gym be like.. 😅⚽️
00:20
Просмотров 11 млн