#GL rendering

1 messages · Page 1 of 1 (latest)

manic elbow
#

Hey, so I'm currently trying to learn the GL library. It will not Render, Despite being on the camera and on the onPostRender() function. Info on it is difficult to come across, anyone got anything on it?

#

Forgot to include this (this is the camera)

atomic halo
#

is GL even supported in HDRP? why do you want to use it? 🤔

manic elbow
#

Main reason I want to use it is primarily to improve my skills with unity, and I figured GL is a good start. I have done Graphics Programming in the past and I figured "hey, if I can do it out of engine, Surely I can create meshes inside of engine, right?"

#

and that's what I'm trying to do

pseudo kettle
hexed ruin
#

immediate mode obsoleted since version 3

#

but you can still use the legacy apis if you want for compat reasons

#

that said, I've never seen ogl engines do glBegin/glEnd for more than a decade

pseudo kettle
#

Feels like OG immediate mode. Either case the performance seems garbo which I assume is you're popping the stack each frame and rebuilding everything unlike creating a command buffer and just calling draw every update.

manic elbow
#

ok so it is probably to do with HDRP, and from the looks of things HDRP is documented poorly?

#

either am looking at the wrong thing or I can't find it

#

but it should work in a URP enviroment, right?