Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

websfera.pl

Member
  • Content Count

    131
  • Joined

  • Last visited

  • Days Won

    2

websfera.pl last won the day on December 18 2018

websfera.pl had the most liked content!

Community Reputation

5 Neutral

About websfera.pl

  • Rank
    Member

Contact Methods

Profile Information

  • Location:
    Poland

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. websfera.pl

    2D shader

    Hello, I need to make something like sandstorm over my UI. The best thing will be a shader, that swipes on the storm over UI, and then, after some time, will swipe it off the UI. And a moving sand effect should be present too. Can you help me? Any tutorial how to build such a shader? Maybe a similar shader to change (I'll manage it) Thanks, Cheers
  2. @geckoo you're right - player can't move diagonal and yes, it is procedural generation. \Yesterday I figured something similar to your solution and will try to mix those two Thanks
  3. Hi, got another nice problem: I need to generate 4x4 tiled board, but some of tiles need to be a "mine" or "don't go" tiles. The hardest thing is, that there must be at least one clean way from point A to point B
  4. Sorry @geckoo, I'm overloaded with work...
  5. Hi, how can I run an installed Messenger app from Unity script?
  6. Hi, I'm loading a prefab from AssetBundle, and everything is ok, but one of shaders is always black. What is wrong? Shader "Custom/Shader" { Properties{ [Enum(UnityEngine.Rendering.CullMode)] _Culling("Cull Mode", Int) = 2 [NoScaleOffset] _MainTex("Albedo (RGB)", 2D) = "white" {} [NoScaleOffset] _MaskTex("Mask", 2D) = "white" {} [NoScaleOffset] _BumpMap("Bump Map", 2D) = "bump" {} } SubShader{ Tags{ "Queue" = "Transparent" "RenderType" = "Transparent" "IgnoreProjector" = "True" } LOD 200 Cull[_Culling] ZWrite Off Blend SrcAlpha OneMinusSrcAlpha CGPROGRAM #pragma surface surf Standard #pragma target 3.0 sampler2D _MainTex; sampler2D _MaskTex; sampler2D _BumpMap; struct Input { float2 uv_MainTex; float2 uv_MaskTex; float2 uv_BumpMap; }; void surf(Input IN, inout SurfaceOutputStandard o) { fixed4 c = tex2D(_MainTex, IN.uv_MainTex); fixed4 m = tex2D(_MaskTex, IN.uv_MaskTex); o.Albedo = c.rgb; o.Normal = UnpackNormal(tex2D(_BumpMap, IN.uv_BumpMap)); o.Alpha = m.rgb; } ENDCG } FallBack "Diffuse" }
  7. Ok. Thanks. I'll check it
  8. websfera.pl

    Online game

    Hi, I need advice: got Scrabble game, where I can play with players in my device, but want to make game to play online. What I need to have, where I need to start to make such functionality?
  9. websfera.pl

    Dictionary

    Hi, how can I retrieve keys list by using string value as contains parameter?
  10. Hi, I have ScrollRect filled with, lets say, 5000 items. I need to cull non-visible items, but without foreach loop on it. I was thinking about temp list with visible siblings. Any ideas how to do it?
  11. I'm getting fata from Input.compass.trueHeading.
  12. Hi, have anyone got idea how to implement real world compass? I'm using trueHeading, but it works only when I get device precise in vertical position. When I;m trying to tilt it to front or back, trueHeading is not "true" anymore
  13. Thanks. Just pound PowerUI forum thread. Will take a look into it, to make own control. I need inner html rendering
  14. Hi, is there any possibility to render HTML text in UI text control?
×
×
  • Create New...