Câu hỏi được gắn thẻ «geometry-shader»



5
Tại sao tôi không thể sử dụng toán tử '> =' với Vector3?
Tôi đang cố gắng để có được một hình chữ nhật để di chuyển giữa hai vị trí mà tôi gọi là _positionAvà _positionB. Cả hai đều thuộc loại Vector3. Các hình chữ nhật di chuyển tốt. Tuy nhiên, khi nó đạt đến _positionBnó không di chuyển theo hướng ngược …
9 unity  c#  vector  mathematics  vector  matrix  unity  c#  transformation  java  3d  terrain-rendering  shading  ios  opengl-es  opengl  rendering  optimization  python  scripting  minecraft-modding  modding  pc  3d-meshes  mesh  culling  point-cloud  networking  interpolation  mathematics  game-design  ai  game-mechanics  animation  unreal-4  skeletal-animation  3dsmax  unity  c#  3d  opengl  c++  textures  unity  ide  cocos2d  cocos2d-x-js  unity  c#  mono  il2cpp  c++  game-loop  timer  linux  flash  actionscript-3  java  glsl  c++  vector  entity-component  c++  directx11  windows  visual-studio  libgdx  mouse  unity  c#  architecture  storage  unity  c#  rotation  coordinates  quaternion  vrpn  movement  vector  unreal-4  unity  shaders  unity  gui  text  bug  shooter  3d  animation  rendering  voxels  c++  mmo  multithreading  linux  textures  procedural-generation  terrain-rendering  multiplayer  mmo  game-state  java  android  libgdx  opengl  procedural-generation  unity  gui  3d  animation  tools  geometry-shader  mobile  advertisements  unity  c#  animation  scripting  unity  animation  unityscript  coroutines  unity  shaders  lighting  camera 

1
Cách hiệu quả nhất để vẽ đỉnh với OpenGL
Tôi đang viết một trò chơi OpenGL 3D. Sẽ có hàng tấn hình tam giác cho địa hình và vật thể đang sử dụng. Tôi đang nghiên cứu từ hướng dẫn chính thức của OpenGL và phương pháp được trình bày đầu tiên là gọi một hàm glVertexsau glBeginmỗi đỉnh …

2
Shader hình học cho nhiều nguyên thủy
Làm thế nào tôi có thể tạo một shader hình học có thể xử lý nhiều nguyên thủy? Ví dụ: khi tạo một shader hình học cho các hình tam giác, tôi định nghĩa một bố cục như sau: layout(triangles) in; layout(triangle_strip, max_vertices=3) out; Nhưng nếu tôi sử dụng trình …

Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.