The short stories of D. H. Lawrence often touch on sexual themes in a literary way. For instance, in 'Lady Chatterley's Lover', the story, while dealing with sexual relations, is also about class differences, the power of nature, and the search for true connection. It's written in a style that combines beautiful prose with bold exploration of human sexual desires.
James Joyce's 'Ulysses' also has some passages that can be considered as having elements of literary erotica. It weaves sexual themes into a complex narrative structure, exploring human nature through such descriptions. However, it's much more than just erotica as it is a great work of literature that delves into many aspects of life, society, and the human psyche at the turn of the 20th century.