Salc2

Members
  • Content Count

    8
  • Joined

  • Last visited

About Salc2

  • Rank
    Newbie

Recent Profile Visitors

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

  1. Hi, in Spanish would be: "Presione el botón por 3 segundos". Cheers.
  2. Hi DylanD, I am pretty sure you can do that without any server. This is not an specific BabylonJs topic but web standards topics. You should find in Cordova documentation where should the assets folder be. I could bet Cordova handles an agnostic assets folder regardless the OS target. This is a very common use case of webapps packaged to "native" so I guess should be easy find something just don't look for specific "Cordova + Babylon js" keywords but JavaScript in general. Maybe this can help: https://stackoverflow.com/a/48341518/1765828 https://github.com/apache/cordova-plugin-file/blob/master/README.md Cheers.
  3. I mean if you see it without the css transformation it get blurry also
  4. It is just to see the image properly but we can remove it.
  5. Hi Ivan, here are the fiddles: This is the canvas native version https://jsfiddle.net/salc2/demvhnav/4/ this is how I would like to have it in pixijs this is the pixijs version https://jsfiddle.net/salc2/5o2eywg5/ blurred Cheers
  6. It does not seem to work, I tried directly in the baseTexture and in the global property as well and it had not any effect =/ I keep trying things, if I find something I will let you know. Thx.
  7. Hi all, I know this issue maybe repeated and seems to be very common but I searched first and did not find anything concrete. I am doing some test and playing around with pixijs. I created an stage 320x180 and I am rendering an sprite of 27x27 in a autodetected renderer (WEBGL always is selected) I am in a macos retina resolution (devicepixerate 4) the problem is I can not achieve having the sprite pixelated even setting antialias false in the renderer. I tested the same without pixijs but native canvas 2d context using drawImage and I could get what I wanted using some hacks like after every drawImage set context.imagesmoothingenabled to false and I have CSS file to canvas image-rendering: pixelated. With those I am having exactly what I want, but of course I would like to obtain the same using pixijs and WEBGL. Is it possible? Disable at all antialias in a WEBGL context? How we can deal with this to render pixel arts properly? example using native canvas 2d context drawImage example using PixiJS webgl renderer Cheers.