#transparent texture problems

1 messages · Page 1 of 1 (latest)

verbal coyote
#
{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "pokeworld:alakazam_v",
      "materials": { "default": "alpha_test"},
      "textures": {
            "default": "textures/entity/alakazam/alakazam_v"
      },
      "geometry": {
        "default": "geometry.alakazam"
      },
      "scripts": {
        "animate": [
          "setup",
          { "walk": "query.modified_move_speed" },
          "look_at_target"
        ]
      },
      "animations": {
        "walk": "animation.pokemon.four.walk",
        "look_at_target": "animation.common.look_at_target"
      },
      "render_controllers": [ "controller.render.default" ],
        "spawn_egg": {
        "texture": "alakazam",
        "texture_index": 0
      }
    }
  }
}```
why doesnt this allow the texture to show the less opaque parts of the texture on my model
#

transparent texture problems

gloomy sable
#

Make sure you are using a correct material

#

try experimentint with certain materials

#

There's a list of vanilla materials in the bedrock wiki

#

?vanilla materials

pearl chasmBOT
gloomy sable
verbal coyote
#

ok thanks

verbal coyote
gloomy sable
#

try entity_alphablend

verbal coyote
#

yeah that didnt work either guess ill just have to go through each one till i find the one that works

#

i give up

native stratus
#

Hope it helps

verbal coyote
gloomy sable
native stratus
shut sluice
#

"entity_alphablend" works for the top layered transparent texture. But it renders objects/bones/cubes behind the transparent element(s) inconsistently.

verbal coyote
#

Wait I'm supposed to have a custom material file?

verbal coyote
#

i have no clue how to make a material file

topaz parrot
# verbal coyote i have no clue how to make a material file

It's very simple, go to your resource pack and create a folder named "materials" inside of this folder create a file named "entity.material". In this file, you will put the code that Fops gave you. This will allow you to reference "entityname" in your client entity file as a material.

verbal coyote
topaz parrot
#

Well not exactly what Fops sent:

{
    "materials": {
        "version": "1.0.0",
        "entityname:entity_alphatest": {
            "+states": [
                "Blending"
            ]
        }
    }
}
topaz parrot
verbal coyote
#

been making models for a while just never really dived into the material aspect of things

#

only recently i wanted to experiment with making thinks like how the slime looks

#

anything special i have to do for the render controller?

topaz parrot
topaz parrot
verbal coyote
#

i just have a single texture

#

the drum tops i made an opacity of like 55

topaz parrot
#

Probably not then

verbal coyote
#

so i wanted the player to be able to see through them

topaz parrot
#

Just reference the default material in the controller and set the default material to the new material's identifier

verbal coyote
#

"materials": { "default": "entity_alphatest"}, so like that?

topaz parrot
#

yes, but change entity_alphatest to your new material identifier

verbal coyote
#

so where they had put entityname i give it its own new name

topaz parrot
topaz parrot
#

Then you reference that name

verbal coyote
#

and the render controller i just had set as default

topaz parrot
#

Yes

verbal coyote
#

ok thanks

#

ill do that now

#

how come crashes occur ?

topaz parrot
#

If materials aren't written correctly, minecraft doesn't understand how to render the entity and the game crashes

#

A similar thing happens if you mess up badly enough with ui

verbal coyote
#
{
    "materials": {
        "version": "1.0.0",
        "alakazam": "entity_alphatest": {
            "+states": [
                "Blending"
            ]
        }
    }
}```
#
{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "pokeworld:alakazam_v",
      "materials": { "default": "alakazam"},
      "textures": {
            "default": "textures/entity/alakazam/alakazam_v"
      },
      "geometry": {
        "default": "geometry.alakazam"
      },
      "scripts": {
        "animate": [
          "setup",
          { "walk": "query.modified_move_speed" },
          "look_at_target"
        ]
      },
      "animations": {
        "walk": "animation.pokemon.four.walk",
        "look_at_target": "animation.common.look_at_target"
      },
      "render_controllers": [ "controller.render.default" ],
        "spawn_egg": {
        "texture": "alakazam",
        "texture_index": 0
      }
    }
  }
}```
#

its crashing on me

topaz parrot
#
{
    "materials": {
        "version": "1.0.0",
        "alakazam:entity_alphatest": {
            "+states": [
                "Blending"
            ]
        }
    }
}
#

Here

verbal coyote
#

ok i see the mistake

#

thanks

#

hmm still not showing properly like the model is there but its not showing the purple on top of the drums

topaz parrot
verbal coyote
#

now i see why i never bothered 😅

#

overcomplicated for no reason

topaz parrot
#

just change alakazam to entity_alphablend in materials (client entity file)

verbal coyote
#

k ill try that it that dont work im just gonna give up

#

well i am done trying its not showing the layer on top of the drums. So its whatever at this point.