How to Draw in VR - Unity Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 94

  • @elephin
    @elephin ปีที่แล้ว +16

    Okay for everyone with ISSUES regarding newer versions of unity or whatever not working as in the tutorial, I believe all you need to do is
    1.- change the material for the marker to Unlit instead of Lit
    2.- change the RENDERING camera settings of the drawing canvas, just uncheck and check the boxes in that section till you get it right
    This are the errors that ive found trhough this, maybe there were more and I dont remeber, if you have even more issues, check every material that he shows in the video and compare its settings to yours, surely with newer version something is unchecekd or he just didnt show how to do it
    EDIT: 3.- I forgot to mention, to fix the annoying marker only drawing the outer layer like the circunference and not the inner part, just change the camera's clipping planes to be quite bigger for the "far" parameter, like 0.5 and move it so that only a small portion of the box of what the camera sees is infront, the rest leave it behind, and even though if you use the marker behind the wall it draws, it's the best solution that ive seen, sry couldnt help more, maybe by tweaking it a little bit more you can make it a bit smaller.

    Otherwise great tutorial and thanks for the grat series, im making a vr project and you area life saver

  • @tobario
    @tobario 2 ปีที่แล้ว +4

    This is just some plain and simple magic that is possible with unity. This workflow can also help in so many other projects and ideas. Awesome.

  • @InnovateWithPP
    @InnovateWithPP 2 ปีที่แล้ว +3

    great , thanks for a creative tutorial

  • @andreibarbu9516
    @andreibarbu9516 2 ปีที่แล้ว +12

    Can u do a tutorial with full body inveese kinematics, like in boneworks pls

  • @Breyyne
    @Breyyne ปีที่แล้ว +7

    Having issues with this in 2022. The Uninitialized Camera doesn't seem to work on the Render Texture as in the video, no trace being left behind. Using URP template from the Unity HUB. Any suggestions.

    • @AdyianLp
      @AdyianLp ปีที่แล้ว

      Did you resolved the issue ?

  • @nachete1998zgz
    @nachete1998zgz ปีที่แล้ว +4

    Any idea why the eraser material might not be working? I set the unlit material alpha to 0 and I followed the same process to create the canvas shader. But for some reason it is still "painting" over the canvas, although the alpha value is not "greater or equal" and should be stablished to the canvas color.

  • @thespecificgamer5816
    @thespecificgamer5816 2 ปีที่แล้ว

    Super cool, Thanks :)

  • @enkubik
    @enkubik 2 ปีที่แล้ว

    bro underrated

  • @巢亦凡
    @巢亦凡 2 ปีที่แล้ว +5

    I saw there's a script within each marker's frame, I think that might also be an essential part of this project

    • @ValemTutorials
      @ValemTutorials  2 ปีที่แล้ว +2

      no the script is a xrgrabinteractable that is only used to be able to grab the marker. I talk about it a lot in my tutorial series on how to make a vr game

    • @giovanniani16
      @giovanniani16 2 ปีที่แล้ว

      @@ValemTutorials Can you elaborate a little more on the markers, I'm also having isues with the marker object, it barely shows on my end
      And thanks for the cool video :D

    • @giovanniani16
      @giovanniani16 2 ปีที่แล้ว

      My main question here is: what kind of object is the marker?
      Because my camera doesn't capture mine welll, its hollow for the most part

    • @巢亦凡
      @巢亦凡 2 ปีที่แล้ว

      @@ValemTutorialsAlso, my marker creates a hollow ring when it first touches the camera, till then it gradually becomes a solid circle. I'm wondering what's the way to make it stay as solid circle all the time

    • @giovanniani16
      @giovanniani16 2 ปีที่แล้ว

      I think I have more or less figured out the marker part, but is still not like the one you use in the video, I appreciate your videos a lot and I would love to see the part where the marker is made if possible, specially the materials of it

  • @巢亦凡
    @巢亦凡 2 ปีที่แล้ว +2

    The shader part doesn't work in standard shader. If i use URP, it will be an unresolved pink. Then I'm wondering how to change the shader of canvas using standard shader mode?

  • @vitaliiandronov8629
    @vitaliiandronov8629 2 ปีที่แล้ว +8

    Hey! That's really cool, thank you! One question - when I move marker fast - I have dots instead of a line, like frame rate of render texture is not so fast as move. Are there any ways to fix that?

  • @ricksmith2454
    @ricksmith2454 2 ปีที่แล้ว +4

    That works perfectly in Play mode but doesn't when i builded app. What could have gone wrong? I use URP

    • @reveszrichard
      @reveszrichard ปีที่แล้ว

      for me in standard render pipeline the graphics API was the issue, in Vulkan it works

  • @asadhussain5715
    @asadhussain5715 ปีที่แล้ว

    4:35 i tried exactly the same its not working is there any mistake i made?

  • @tiger.gamedeveloper6582
    @tiger.gamedeveloper6582 2 ปีที่แล้ว

    thank you bro

  • @shuster2000
    @shuster2000 2 ปีที่แล้ว

    This is awesome 👍

  • @REC_crazy
    @REC_crazy ปีที่แล้ว +2

    Hey,great tutorial. I have one problem though, when I play it on the pc and move it around with my mouse it works just fine, but when I’m actually testing it in my Vr it just shows the dot of where the marker is and doesn’t save where it’s been. Can you help please?

    • @jaredjimenez5810
      @jaredjimenez5810 ปีที่แล้ว

      Same problem, any solution?

    • @lucacorsi7175
      @lucacorsi7175 9 หลายเดือนก่อน

      i found it! You have to make an empty gameobject, apply the interactable xr script to it and insert the marker into it. It worked for my project, I'm really happy!@@jaredjimenez5810

  • @Atlas_966
    @Atlas_966 2 ปีที่แล้ว +2

    Could you do a inverse kinematics video? Many guides for VR are vague, unclear, or outdated

    • @Jayden_Balmain
      @Jayden_Balmain 2 ปีที่แล้ว +3

      For real

    • @Atlas_966
      @Atlas_966 2 ปีที่แล้ว +1

      @@Jayden_Balmain Yeah lol

    • @zelofi
      @zelofi ปีที่แล้ว

      he did make one, on his valem channel search up "body in vr" or something along those lines, and you should find it.

  • @qutin3316
    @qutin3316 2 ปีที่แล้ว

    Can we also see the lecture on vr microphone with ecosystem later?

  • @penguinswing5726
    @penguinswing5726 ปีที่แล้ว +1

    I have a problem. When I use a cilinder as marker, it just shows the dot when the object is like... 90% inside the canvas... :( It doesnt detect all the cilinder

  • @cfarr41
    @cfarr41 ปีที่แล้ว +1

    Doing this tutorial with the Quest 3, unity version 2022.311f1 oculus integration 57.0. For some reason when I test the marker in unity editor the drawing stays on the canvas, but when I build it to the quest 3 and test it there, the colour will not stay on the canvas (but does appear where the marker is). Any ideas what is happening between the unity editor and the quest 3 build?

    • @andrewblance5289
      @andrewblance5289 11 หลายเดือนก่อน

      did you find a solution?

    • @cfarr41
      @cfarr41 11 หลายเดือนก่อน +1

      @@andrewblance5289 Didn't end up working out a fix. Decided instead to just get "Drawing Board VR" off the unity store. Was only $5 and did everything + more like saving images.

  • @RedSnakePlay
    @RedSnakePlay 2 ปีที่แล้ว +1

    Hi, this question isn't related to the video but here we go. Do you have any idea on how to develop a VR application that is compatible with a Kat VR?

    • @ValemTutorials
      @ValemTutorials  2 ปีที่แล้ว +1

      I don't sorry, I tried kat vr before but I've never experienced making a game for it. They might have a SDK with some documentation on their website

    • @RedSnakePlay
      @RedSnakePlay 2 ปีที่แล้ว

      @@ValemTutorials You need to actually contact them and they guide you through it. And you need to buy the software and a hardkey.

  • @jacobsharp1235
    @jacobsharp1235 ปีที่แล้ว

    Cant seem to get anything to be seen by the camera, dont seem to have access to these XR interactable markers you have?

  • @danielliu1648
    @danielliu1648 2 ปีที่แล้ว

    I want to learn the method of keyboard input in XR Interaction Toolkit,please

  • @carlaincaroline
    @carlaincaroline ปีที่แล้ว

    I have a problem to find output tab in DrawCamera. On my unity 2019.4.31f1 there is only a a Target tecture without renderinh, stack, environment and output tabs. Is there any a package manager to download to have this ones?

  • @LongyDev
    @LongyDev 2 หลายเดือนก่อน

    everything is working but the rubber. it doesnt seem to care about me changing the alpha of pens??
    can anyone help?

  • @goodmen6938
    @goodmen6938 2 ปีที่แล้ว +2

    I followed the tutorial and I am getting a problem where if I move the marker the render texture on plane jitters and shows glitches, can anybody help me with this please

    • @blackwhalestudio
      @blackwhalestudio 2 ปีที่แล้ว

      Did you find out why it's jittery? I experience the same.

    • @emirhanyilmaz9695
      @emirhanyilmaz9695 2 ปีที่แล้ว

      Same problem, I think it is because the camera. I couldn't solve the problem yet.

    • @lolawettenberg7315
      @lolawettenberg7315 2 ปีที่แล้ว

      what worked for me: try to increase the space for the camera in front of the canvas -> increase/decrease far/near of your camera, so you are longer in the camera space with your pen

    • @yeetyeetpotatoskeet7948
      @yeetyeetpotatoskeet7948 ปีที่แล้ว

      For me this happened because of a setting in my marker material, I needed to set the render face to 'Both'

  • @rosx_8446
    @rosx_8446 2 ปีที่แล้ว

    on your main channel you made getting over it in vr and i would love for oyu to show how to make the movement here on this channel please!

  • @idontknown12321
    @idontknown12321 2 ปีที่แล้ว

    Could you do a bow and arrow tutorial?

  • @farlandtacticsonline
    @farlandtacticsonline ปีที่แล้ว

    I Set the Camera's Culling Mask Select Nothing and Marker Layer, but Marker not working. ( not remain after images )

    • @AGOTYT
      @AGOTYT ปีที่แล้ว

      Did you found the solution ?

  • @simonunlock9728
    @simonunlock9728 2 ปีที่แล้ว

    Hey Valem, is there any way you can make a tut about spraycans??

    • @linomatheus7418
      @linomatheus7418 9 หลายเดือนก่อน

      You could make a "marker" just like the ones in the video, that is cone shaped and just place it in front of the spraycan, then make it visible/invisible depending on the trigger press. Then you give it the "marker" layer and make that layer invisible to the player camera in the camera settings, the inverse of what he did in the canvas camera in the video

  • @deionyesternunez4751
    @deionyesternunez4751 2 ปีที่แล้ว

    its awesome, i just wanna ask something, if i want the marker fit on the wall normals that is behind the render texture? someone have some advices for that?

  • @andrewblance5289
    @andrewblance5289 11 หลายเดือนก่อน

    I got extreme dips in framerate when I added the second camera. Using 2022.3.7f1 this is a known bug when using a Render Texture and a second camera. According to Unity it is fixed in 2022.3.10f1

  • @miguelperez3711
    @miguelperez3711 ปีที่แล้ว +2

    The marker keeps showing dots of the material but not smooth like the video

  • @huwansetar6823
    @huwansetar6823 2 ปีที่แล้ว

    The pen ends up being jittery when drawing, im not sure how to solve it

  • @irfanyaqoob4717
    @irfanyaqoob4717 ปีที่แล้ว

    Why my pencil go into the paper while drawing, I am using virtual hands to grab the pencil and writing. I mean it pass through the plane (page)

  • @sergiopang7837
    @sergiopang7837 10 หลายเดือนก่อน

    Can I save my draw as png or jpg?

  • @3d-action
    @3d-action ปีที่แล้ว

    For some reason the material show white with the skybox and the marker doesnt draw

  • @goodmen6938
    @goodmen6938 2 ปีที่แล้ว

    Hi, do you need Unity Pro for this?

  • @布丁提拉米苏
    @布丁提拉米苏 ปีที่แล้ว

    I cant paint after I reset the material from pipeline/Lit to shader.

  • @cesarmirotti2555
    @cesarmirotti2555 ปีที่แล้ว

    I'm having a trouble using this on VR in Unity 2022. It's works perfect if I close one eye (or seeing in my computer screen), but with both eyes there's a kind of effect that causes sickness. I think it's because the plane with the camera creates a reflex effect that doesn't work properly in the 3D world. Anyone with the same problem? Thanks for the tutorial!

    • @nock_5
      @nock_5 ปีที่แล้ว +2

      Make sure your DrawCamera's Output has Target Eye set to both not just one

  • @Chrisallengallery
    @Chrisallengallery ปีที่แล้ว

    Only works using link in editor. It does not work in build unless I change the render texture Depth Stencil Texture to D16_UNORM but then I get lines. All other settings do nothing.

    • @reveszrichard
      @reveszrichard ปีที่แล้ว +1

      it works for me if graphics api is set to Vulkan (Built-in RP)

    • @Chrisallengallery
      @Chrisallengallery ปีที่แล้ว

      @@reveszrichard I managed to get it working. Just now the colours drawn on the texture flicker. As if layers are fighting to be renderered at the same time.

  • @HoaNguyen-bm3rq
    @HoaNguyen-bm3rq 5 หลายเดือนก่อน

    i created the eraser but it draw black color instead of erasing what i draw , somebody help=((

    • @DwenShell
      @DwenShell 4 หลายเดือนก่อน

      Same problem here. Did you find a solution ?

  • @rubensobral8464
    @rubensobral8464 ปีที่แล้ว

    How can I draw In 3d objects?

  • @3d-action
    @3d-action ปีที่แล้ว

    My marker drawing dissapears and it jitters i tried everything

  • @AnikenSkiwalker
    @AnikenSkiwalker 6 หลายเดือนก่อน

    Could you update this in 2024. A lot has changed. We are using building blocks now.

  • @prso5587
    @prso5587 2 ปีที่แล้ว +1

    Question tu es français ? non car l'accent saute au yeux mais je doute comme tout la chaine est en anglais mdr

  • @andreibarbu9516
    @andreibarbu9516 2 ปีที่แล้ว

    338th one

  • @howardxu8050
    @howardxu8050 ปีที่แล้ว +3

    this no longer works

  • @Noah-sw5xw
    @Noah-sw5xw 2 ปีที่แล้ว

    first

  • @Mapicted-ey8of
    @Mapicted-ey8of 2 ปีที่แล้ว +2

    save your time, it doesn't work and there is no support

    • @ValemTutorials
      @ValemTutorials  2 ปีที่แล้ว

      What did not work for you?

    • @Mapicted-ey8of
      @Mapicted-ey8of 2 ปีที่แล้ว

      @@ValemTutorials Same Problem as Goodmen: I followed the tutorial and I am getting a problem where if I move the marker the render texture on plane jitters and shows glitches, can anybody help me with this please

    • @ValemTutorials
      @ValemTutorials  2 ปีที่แล้ว +2

      @@Mapicted-ey8of is the material of the marker double sided? Thats weird bug i hope its not related to unity version. Try also play with the camera position and the size of the marker

    • @LineOfThy
      @LineOfThy 2 ปีที่แล้ว +2

      my man don't be so negative, just because you have this issue doesn't mean everybody has it.

    • @Mapicted-ey8of
      @Mapicted-ey8of 2 ปีที่แล้ว +1

      @@ValemTutorials sorry, bad day, everything ok

  • @cloudwhisperer7278
    @cloudwhisperer7278 ปีที่แล้ว

    i keep getting the glitchy dots, as if its not bieng rendered fast enough. this tutorial was kinda a waste of time

  • @AnikenSkiwalker
    @AnikenSkiwalker 6 หลายเดือนก่อน

    This tutorial doesn't work in 2024. There are new updates with meta and you failed to stay relevant. I really wanted this to work.