Jump to content

can't get the normals right/transparent model issue


Go to solution Solved by Guest KENNITHH,

Recommended Posts

  • Solution
Guest KENNITHH

@@Mandalorian, are you using a shader for the model? If not you should, if you do, try adding "cull none" or "cull disable".

 

 

 

cull side

Every surface of a polygon has two sides, a front and a back. Typically, we only see the front or "out" side. For example, a solid block you only show the front side. In many applications we see both. For example, in water, you can see both front and a back. The same is true for things like grates and screens.

To "cull" means to remove. The value parameter determines the type of face culling to apply. The default value is cull back if this keyword is not specified. However for items that should be inverted then the value front should be used. To disable culling, the value disable or none should be used. Only one cull instruction can be set for the shader.

front : The front or "outside" of the polygon is not drawn in the world. It is used if the keyword "cull" appears in the content instructions without a side value.

back : Cull back removes the back or "inside" of a polygon from being drawn in the world.

disable or none : Neither side of the polygon is removed. Both sides are drawn in the game. Very useful for making panels or barriers that have no depth, such as grates, screens, metal wire fences and so on and for liquid volumes that the player can see from within. Also used for energy fields, sprites, and weapon effects (e.g. plasma).

Design Notes
For things like grates and screens, put the texture with the cull none property on one face only. On the other faces, use a non-drawing texture.

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...