• Title/Summary/Keyword: Unity shader

Search Result 8, Processing Time 0.022 seconds

Performance Comparison of Particle Simulation Using GPU Between OpenGL and Unity (OpenGL과 Unity간의 GPU를 이용한 Particle Simulation의 성능 비교)

  • Kim, Min Sang;Sung, Nak-Jun;Choi, Yoo-Joo;Hong, Min
    • KIPS Transactions on Software and Data Engineering
    • /
    • v.6 no.10
    • /
    • pp.479-486
    • /
    • 2017
  • Recently, GPGPU has been able to increase the degradation of computer performance, and it is now possible to run physically based real-time simulations on PCs that require high computational complexity. Physical calculations applied in physics simulation can be performed by parallel processing, and can be efficiently performed using parallel computation using Compute shader recently supported by OpenGL 4.3 and Unity 4.0. In this paper, we measure and compare the number of performance in real - time physics simulation in OpenGL running on various platforms and Unity, a content creation tool supporting various platforms. Particle simulation experiments show that particle simulation using Unity performs faster than 136.04%. It is expected that it will be able to select better development tools for future multi - platform support.

Efficient Representation of Soap Bubble Shapes using Snell's Law and Background Synthesis (Snell의 법칙을 이용한 효율적인 비눗방울 형상 표현 및 배경 합성)

  • Yoojin Jeong;Jong-Hyun Kim
    • Proceedings of the Korean Society of Computer Information Conference
    • /
    • 2024.01a
    • /
    • pp.403-406
    • /
    • 2024
  • 본 논문에서는 비눗방울에 나타나는 반사와 굴절 효과를 상용 게임엔진인 유니티 쉐이더(Unity shader)를 사용하여 구현하고 다양한 배경에서 합성할 수 있는 효율적인 프레임워크를 제안한다. 본 논문에서 제안하는 방법은 계산량이 큰 유체 시뮬레이션을 이용하지 않고, 스넬(Snell)의 법칙을 이용하여 박막 내부의 굴절 벡터를 계산하고, 막 표면의 표현을 위해 다양한 텍스처(Texture)를 적용하였으며, vertex의 조정을 통해 비눗방울 자체의 움직임을 나타낼 수 있다. 결과적으로 실시간으로 높은 품질의 비눗방울을 표현할 수 있기 때문에 게임뿐만 아니라 가상현실 및 다양한 실시간 애플리케이션에 활용될 수 있다.

  • PDF

Visualization of 3D Graphics Shader Space Transformation (3D 그래픽스 셰이더 공간 변환의 시각화)

  • Lee, SangWon
    • Proceedings of the Korean Society of Computer Information Conference
    • /
    • 2022.07a
    • /
    • pp.219-220
    • /
    • 2022
  • 3D 그래픽스 환경에서 입체적인 물체가 2D 모니터에 보여지는 과정에는 여러 단계의 공간 변환과 행렬 계산을 거치게 된다. 이러한 공간 변환은 각 단계가 어떤 의미인지 쉽게 이해하기에 어려운 면이 있다. 본 논문에서는 유니티 3D 엔진에서 작동하는 셰이더를 통해 각 단계의 공간을 시각화 하여 학생들이 보다 쉽게 공간 변환을 이해하는 시각화 방법을 제시한다.

  • PDF

A Shader Technique that applies Noise Texture to Vertex Movement and Surface Texture Mapping of Polygon Mesh (폴리곤 메시의 정점 이동과 표면 텍스처 매핑에 노이즈 텍스처를 적용하는 쉐이더 기법)

  • Hong, Minseok;Park, Jinho
    • Journal of Korea Game Society
    • /
    • v.21 no.2
    • /
    • pp.79-88
    • /
    • 2021
  • Particle and noise are effectively used to implement unspecific VFX like an explosion, magic. Particle can create freely but, The more usage, the higher CPU/GPU usage. This paper using polygon mesh that is hard to change but consumes fixed resources to overcome the demerit of particle and reduce CPU/GPU usage. Also, using shader, apply noise texture that is suitable unspecific pattern to vertex and surface texture mapping of polygon mesh for implement VFX in unity. As a result of experiment, shader applied sphere polygon mesh show 2~4ms CPU, 1~2ms GPU usage in profiler. Also It has been shown that shader can be used to implement unspecific VFX.

Design of Action Game Using Three-Dimensional Map and Interactions between In-Game Objects

  • Kim, Jin-Woong;Hur, Jee-Sic;Lee, Hyeong-Geun;Kwak, Ho-Young;Kim, Soo Kyun
    • Journal of the Korea Society of Computer and Information
    • /
    • v.27 no.12
    • /
    • pp.85-92
    • /
    • 2022
  • In this study, we aim to design an action game that increases the user experience. In order to increase the immersion of the game, the characteristics of the game used by the user were analyzed, and the systemic and visual characteristics of the game were designed with reference to each characteristic. The proposed method uses Unity 3D to implement an interaction system between objects in the game and is designed in a way that allows users to immerse themselves in the game. To induce immersion through the visual elements of the game, 2D objects and players are placed in a 3D space, and a 2D dynamic light shader is added. It is composed of inter-combat rules and monster behavior pattern collision detection and event detection. The proposed method contained the user experience with the implementation thesis, and showed the game's possibility of leading the user's affordance.

Study on Management of Water Pipes in Buildings using Augmented Reality (증강현실을 이용한 건물의 수도관 관리 방안 연구)

  • Sang-Hyun Park
    • The Journal of the Korea institute of electronic communication sciences
    • /
    • v.18 no.6
    • /
    • pp.1229-1238
    • /
    • 2023
  • Digital twin is a technology that creates a virtual space that replicates the real world and manages the real world efficiently by integrating the real and virtual spaces. The digital twin concept for water facilities is to effectively manage water pipes in the real world by implementing them in a virtual space and augmenting them to the interior space of the building. In the proposed method, the Unity 3D game engine is used to implement the application of digital twin technology in the interior of a building. The AR Foundation toolkit based on ARCore is used as the augmented reality technology for our Digital Twin implementation. In digital twin applications, it is essential to match the real and virtual worlds. In the proposed method, 2D image markers are used to match the real and virtual worlds. The Unity shader program is also applied to make the augmented objects visually realistic. The implementation results show that the proposed method is simple but accurate in placing water pipes in real space, and visually effective in representing water pipes on the wall.

Design of 3D Oculus VR Action Game using Silhouette Outline

  • Kim, Ho-Ryel;Han, Chang-Min;An, Syoungog;Kim, Soo Kyun
    • Journal of the Korea Society of Computer and Information
    • /
    • v.25 no.11
    • /
    • pp.59-65
    • /
    • 2020
  • Lately the VR (Virtual Reality) game genre is becoming increasingly more popular and it has been cementing its place in the market as its own independent game genre. The key advantage of VR is that it lowers the barrier between player and the virtual world, thus creating an immersive experience. The suggested method develops a game that allows the player to experience what it is like to be visually impaired using the unique characteristics of VR. A distinctive feature of this game is that the character is provided only a limited range of sight, which is created using silhouette outlines. This restrictive visual field is then grafted onto VR and the player can indirectly experience blindness in a highly immersive manner. The silhouette outline along with the particle system is created using Oculus Rift, a headset highly used in VR game development, and Unity 3D game engine. We will also explain in detail regarding the removal of borders between the objects.