MODIFY SHADERS AND RENDER TEXTURES ON CURVED SURFACES

Authors

  • I. Suhoniak State University “Zhytomyr Polytechnic”, Zhytomyr, Ukraine
  • G. Marchuk State University “Zhytomyr Polytechnic”, Zhytomyr, Ukraine
  • O. Oleksiuk State University “Zhytomyr Polytechnic”, Zhytomyr, Ukraine

DOI:

https://doi.org/10.15588/1607-3274-2025-4-19

Keywords:

game development, shaders, spline, rendering, custom raycaster, curvilinear surfaces, user interface, visualization

Abstract

Context. The display of curvilinear surfaces on flat screens is a complex task. The development of an interface for such surfaces is a relevant task that requires the solution of numerous issues. This paper presents an approach to UI development for curvilinear surfaces and shader modifications for the creation of realistic landscape elements. The object of the research is the development of an interface system based on a custom raycaster to ensure interactivity and create an immersive effect within the game environment.
Objective. The purpose of the paper. The primary objective of this research is to create, optimise and adapt shaders on curved surfaces to achieve more efficient rendering with high-quality visualisation.
Method. The development of user interfaces (UI) for curvilinear surfaces requires consideration of geometric parameters. To resolve this issue, a custom component based on BaseRaycaster was developed, enabling the computation of the intersection between the camera ray and the physical surface. To provide correct and efficient interaction with the canvas a custom component based on BaseRaycaster was created. The developed component solves the problem by identifying the ray intersection point from the camera with the canvas surface. The implementation of this component involves an algorithm for detecting the camera’s ray intersections with colliders, using a mathematical model to process the detected elements, according for their depth to ensure proper interaction.
Results.This approach facilitates the creation of interfaces on arbitrary static curved surfaces that are applicable in various gaming and interactive scenarios.
Conclusions. The use of splines and modified shaders ensures the placement of text on curvilinear surfaces and the natural arrangement of roads and other landscape elements according to the terrain contours. This approach is important for developing openworld games or games with complex geometry, where the UI on curvilinear surfaces appears natural and integrated into the environment.

Author Biographies

I. Suhoniak, State University “Zhytomyr Polytechnic”, Zhytomyr

Associate Professor, PhD in Technical Sciences, Associate Professor of the Department of Computer
Science

G. Marchuk, State University “Zhytomyr Polytechnic”, Zhytomyr

Senior Lecturer of the Department of Computer Science

O. Oleksiuk, State University “Zhytomyr Polytechnic”, Zhytomyr

Applicant of the Department of Computer Science

References

Ilett D. Building Quality Shaders for Unity®. Using Shader Graphs and HLSL Shaders. Berkeley, Apress, 2022, 734 p. ISBN 978-1-4842-8651-7. Mode of access: https://doi.org/10.1007/978-1-4842-8652-4.

Xiao D., Liu Z., Wang S. Metamorphic Shader Fusion for Testing Graphics Shader Compilers, IEEE/ACM 45th International Conference on Software Engineering (ICSE), Melbourne, Australia, 14–20 May. 2023. Melbourne, Australia, IEEE, 2023, pp. 2400–2412. Mode of access:

https://doi.org/10.1109/ICSE48619.2023.00201.

Souza D. A., Mota R. R.Materials for games – An overview on creating materials for games materials for games, Extended Proceedings of the XX Brazilian Symposium on Games and Digital Entertainment, Porto Alegre, Brazil, 18–21 October. 2021. Porto Alegre, Brazilian Computer Society, 2021, pp. 136–142. URL: https://doi.org/10.5753/sbgames_estendido.2021.19633.

Liang Y. et al. Automatic Mesh and Shader Level of Detail, EEE Transactions on Visualization and Computer Graphics (TVCG), 2023, vol. 29, No. 10, pp. 4284–4295. Mode of access: https://doi.org/10.1109/TVCG.2022.3188775.

Akenine-Möller T. et al. Improved shader and texture level of detail using ray cones, Journal of Computer Graphics Techniques (JCGT), 2021, Vol. 10, No 1, pp. 1–24. ISSN 2331- 7418. Mode of access: http://jcgt.org/published/0010/01/01/.

Konnurmath G., Chickerur S. GPU Shader Analysis and Power Optimization Model, Engineering, Technology & Applied Science Research, 2024, vol. 14, no 1, pp. 12925–12930. Mode of access: https://doi.org/10.48084/etasr.6695.

Sasso E., Loiacono D., Lanzi P. L. A Tool for the Procedural Generation of Shaders Using Interactive Evolutionary Algorithms, 2024 IEEE Gaming, Entertainment, and Media Conference (GEM), Turin, Italy, 5–7 June. 2024. Turin, Italy, 2024, pp. 1–4. Mode of access:

https://doi.org/10.1109/GEM61861.2024.10585418.

Nishidate Y., Fujishiro I. Efficient Particle-Based Fluid Surface Reconstruction Using Mesh Shaders and Bidirectional TwoLevel Grids, Proceedings of the ACM on Computer Graphics and Interactive Techniques, 2024, Vol. 7, No 1, pp. 1–14. Mode of access: https://doi.org/10.1145/3651285.

Tricard T. Interval Shading: using Mesh Shaders to generate shading intervals for volume rendering, Proceedings of the ACM on Computer Graphics and Interactive Techniques, 2024, Vol. 7, No 3, pp. 1–11. Mode of access: https://doi.org/10.1145/3675380.

Huo Y. et al. ed.: Nandigjav M., Mitra N. J., Hertzmann A. ShaderTransformer: Predicting Shader Quality via One-shot Embedding for Fast Simplification, SIGGRAPH ’22: ACM SIGGRAPH 2022 Conference Proceedings, Vancouver BC, Canada, 7–11 July 2022. New York, NY, United States, 2022, pp. 1–9. ISBN 978-1-4503-9337-9. Mode of access: https://doi.org/10.1145/3528233.3530722.

Wiryadi F. I., Kosala R. R. Particle rendering using geometry shader, 1st International Conference on Game, Game Art, and Gamification (ICGGAG), Jakarta, Indonesia, 19–21 December 2016. Jakarta, Institute of Electrical and Electronics Engineers (IEEE), pp. 1–9. Mode of access: https://doi.org/10.1109/ICGGAG.2016.8052661.

Bissell B. et al. A cultural heritage game for entertainment, Archiving Conference 2021, Granada, Spain, 1–6 July 2021. Kilworth Lane, Springfield, VA 22151 USA, Society for Imaging Science and Technology, 2021, pp. 1–6. Mode of access: https://doi.org/10.2352/issn.2168-3204.2021.1.0.2.

Zhao L. et al. Graph Mining and Machine Learning for Shader Codes Analysis to Accelerate GPU Tuning, Complex Networks and Their Applications XI, 4 January 2023. Cham, Springer, 2023, pp. 426–439. Mode of access: https://doi.org/10.1007/978-3-031-21127-0_35.

Downloads

Published

2025-12-24

How to Cite

Suhoniak, I., Marchuk, G., & Oleksiuk, O. . (2025). MODIFY SHADERS AND RENDER TEXTURES ON CURVED SURFACES. Radio Electronics, Computer Science, Control, (4), 209–218. https://doi.org/10.15588/1607-3274-2025-4-19

Issue

Section

Progressive information technologies